Current location - Quotes Website - Collection of slogans - The website written by vs2008c# and ASP.NET will display an error if you enter localhost in the local browser after it is published successfully.
The website written by vs2008c# and ASP.NET will display an error if you enter localhost in the local browser after it is published successfully.
After 1. is published, do you want to point IIS home directory or virtual directory to the publishing directory?

2. Is the port number configured for IIS website? If configured, please use http://localhost: port number/

3. Is it the website of 3? IIS is in the startup state.

4. Is your homepage within the scope of IIS default homepage? (Default. *, index. *)