Article ID: 319842
Article Last Modified on 7/29/2005
APPLIES TO
- Microsoft Visual Studio .NET 2003 Professional Edition
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Studio .NET 2003 Academic Edition
- Microsoft Visual Studio .NET 2002 Professional Edition
- Microsoft Visual Studio .NET 2002 Enterprise Architect
- Microsoft Visual Studio .NET 2002 Enterprise Developer
- Microsoft Visual Studio .NET 2002 Academic Edition
- Microsoft ASP.NET 1.1
- Microsoft ASP.NET 1.0
This article was previously published under Q319842
SYMPTOMS
When you try to debug a Microsoft ASP.NET Web Application project that was created by using the IP address or full computer name for the location, you may receive the following error message:
CAUSE
Using the IP address or full computer name (including the domain) maps the URL to the Internet zone in Microsoft Internet Explorer. If your security settings for the Internet zone are not set to Automatic logon with current username and password, authentication may be unsuccessful and you may receive this error message.
RESOLUTION
To work around this issue, do one of the following:
- Do not use an IP address or full computer name (for example, computername.domainname.coname.com) when you create your ASP.NET Web Application project. Instead, you can use either "localhost" or the computer name without the domain name (for example, computername).
- Change the security settings for the Internet zone in Internet Explorer to use Automatic logon with current username and password. To do this:
- Open Internet Explorer. On the Tools menu, click Internet Options.
- On the Security tab, click to select Internet in the list of Web content zones, and then click Custom Level.
- Scroll to the bottom of the Settings list. Under User Authentication, locate Logon, and then click to select Automatic logon with current username and password.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce the Behavior
- Change the security settings for the Internet zone to use Automatic logon only in Intranet zone. To do this:
- Open Internet Explorer. On the Tools menu, click Internet Options.
- On the Security tab, click to select Internet in the list of Web content zones, and then click Custom Level.
- Scroll to the bottom of the Settings list. Under User Authentication, locate Logon, and then click to select Automatic logon only in Intranet zone.
- In Visual Studio .NET, create a new Visual C# ASP.NET Web Application project by using the IP address of your server computer (for example, http://xxx.xxx.xxx.xxx/Webapplication1).
- Press F5 to start debugging.
REFERENCES
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
306165 PRB: 'Unable to Start Debugging on the Web Server' Error Message When You Debug ASP.NET Applications
306169 PRB: Visual Studio .NET Debugger Does Not Stop on Breakpoints When You Debug ASP.NET Pages
306172 INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET
316726 HOW TO: Debug an ASP.NET Web Application
Additional query words: kbwamDebug
Keywords: kbbug kbdebug kbvs2002sp1sweep KB319842