Recently, when running the asp.net program, the instructor showed "the server application is unavailable". The following error message is displayed when vs2005 fails to start debugging ,:
The server application is unavailable.
The Web application you are attempting to access on this Web server is currently unavailable. Please click "refresh" in the Web browser to try your request again.
Administrator Note: you can find the error details for the specific request failure cause in the system event log of the Web server. Check this log item to find out the cause of this error.
I found the reason on the Internet repeatedly, because we installed. net first and then IIS, which caused
Asp.net is not properly registered in IIS, and IIs does not recognize it in. net. This is simple. Just register it again.
Solution:
In the command prompt of Microsoft. NET Framework SDK v2.0, re-register IIS. Command: aspnet_regiis-r, and then restart the website. All problems have solved the long-awaited Default. aspx page.