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



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0
  • the operating system: Microsoft Windows XP
  • the operating system: Microsoft Windows XP SP1
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

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:
  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: 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


Modification Type:MajorLast Reviewed:8/29/2005
Keywords:kbvs2002sp1sweep kbBug kbWebServices kbWebForms kbfix kberrmsg kbweb KB818262 kbAudDeveloper