BUG: "Unable to start debugging on the Web server" error message when you run an ASP.NET Web application (814717)
The information in this article applies to:
- Microsoft .NET Framework 2.0
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# 2005, Express Edition
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSYou create an ASP.NET Web application by using localhost as the Web server, and you change the Web site setting in
Internet Information Services (IIS) to use the specific IP address for Web Site Identification. Then, when you run
the application, you receive the following error message: Error while trying to run project: Unable to start debugging on
the web server. Could not start ASP.NET or ATL Server
debugging.
Verify that ASP.NET or ATL Server is correctly installed on
the server. CAUSEThis problem occurs because the debugger does not send the
debug action to IIS when you run the application. The debugger identifies your
computer as localhost. However, in IIS, the Web Site Identification of
the application is the IP address that you specified.RESOLUTION- In a text editor such as Notepad, open the
WebApplicationName.vbproj.webinfo file. The
WebApplicationName.vbproj.webinfo file is located in
the application folder for your application.
- Locate the following line.
<Web URLPath = "http://localhost/WebApplicationName/WebApplicationName.vbproj" /> Replace the local host with the IP Address of your computer as follows. <Web URLPath = "http://10.150.144.131/WebApplicationName/WebApplicationName.vbproj" /> - Start Microsoft Internet Explorer. On the
Tools menu, click Internet
Options.
- In the Internet Options dialog box, click
the Security tab. Under Select a Web content zone to
specify its security settings, click Local Intranet,
and then click Sites.
- In the Local Intranet dialog box, click
Advanced.
- In the Add this Web Site to the zone box,
type the URL of your project, and then click Add.
- Close the application, and then open the application
again.
- On the Debug menu, click
Start.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed in the "Applies to"
section.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web site:
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005applies kbvs2005swept kbvs2002sp1sweep kbpending kberrmsg kbSerial kbIP kbWebServer kbWebForms kbWebBrowser kbbug KB814717 kbAudDeveloper |
---|
|