FIX: Visual Studio .NET cannot open existing ASP.NET projects after you install Internet Protocol version 6 on Windows XP

Article translations Article translations
Article ID: 818262 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

After you install Internet Protocol version 6 (IPv6) on a computer running Windows XP, Visual Studio .NET cannot open existing ASP.NET Web projects. When you try to open an ASP.NET project, you may receive following error message:
Unable to open Web project 'ProjectName'. Unable to validate that the file path 'c:\inetpub\wwwroot\webasp10' matches the URL path 'http://localhost/ProjectName'. A connection with the server could not be established

Resolution

To resolve this problem, install Windows XP Service Pack 1 on the computer running on Windows XP, and then install Visual Studio .NET. In IPv6 scenarios, critical functions such as opening and creating Visual Studio .NET projects, may fail if the service pack is not installed. To resolve the problem, follow these steps:
  1. On your computer running Windows XP, install Windows XP Service Pack 1. To download Windows XP service packs, visit the following Microsoft Web site:
    http://www.microsoft.com/windowsxp/downloads/default.mspx
  2. Start Visual Studio .NET.
  3. Create a new ASP.NET Web Application project by using Visual Basic .NET or Visual C# .NET. Name the project IPv6.
  4. On the Build menu, click Build Solution.
  5. On the File menu, click Exit to quit Visual Studio .NET.
  6. Click Start, and then click Run.
  7. In the Open text box, type cmd, and the click OK.
  8. At the command prompt, type IPv6 install to install IPv6 on the computer.
  9. Click Start, and then click Run.
  10. In the Open text box, type iisreset.
  11. Start Visual Studio .NET.
  12. On the File menu, point to Open, click Project, and then locate the project file IPv6.csproj or IPv6.vbproj. Click the project file, and then click OK.
  13. Verify that project opens successfully.

Status

Microsoft has confirmed that this is a bug in Microsoft Windows XP. This bug was corrected in Microsoft Windows XP Service Pack 1.

More information

Steps to reproduce the behavior

  1. On your computer running Windows XP, start Visual Studio .NET.
    Note Verify that Windows XP Service Pack 1 (SP1) is not installed on the computer.
  2. Create a new ASP.NET Web Application project by using Visual Basic .NET or Visual C# .NET. Name the project IPv6.
  3. On the Build menu, click Build Solution.
  4. On the File menu, click Exit to quit Visual Studio .NET.
  5. Click Start, and then click Run.
  6. In the Open text box, type cmd, and then click OK.
  7. Type IPv6 install to install IPv6 on the computer.
  8. Click Start, and then click Run.
  9. In the Open text box, type iisreset, and then click OK.
  10. Start Visual Studio .NET.
  11. On the File menu, point to Open, click Project, and then locate the project file IPv6.csproj or IPv6.vbproj. Click the project file, and then click OK.

References

For more information about how to enable IPv6 for Visual Studio .NET 2003, read the file named IPv6.htm in the Setup folder of Microsoft Visual Studio .NET 2003 CD1.

For more information, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/bb726944.aspx
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
325449 How to install and configure IP version 6 in Windows Server 2003 Enterprise Server

Properties

Article ID: 818262 - Last Review: March 28, 2013 - Revision: 5.0
Applies to
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
  • 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
Keywords: 
kbproductlink kbvs2002sp1sweep kbbug kbwebservices kbwebforms kbfix kberrmsg kbweb KB818262

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com