Microsoft KB Archive/818262

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

Article ID: 818262

Article Last Modified on 11/22/2007

-

APPLIES TO


 * Microsoft ASP.NET (included with the .NET Framework 1.1)
 * Microsoft ASP.NET 1.0
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Embedded
 * 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

-





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/ '. 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:  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

 Start Visual Studio .NET. Create a new ASP.NET Web Application project by using Visual Basic .NET or Visual C# .NET. Name the project IPv6 . On the Build menu, click Build Solution. On the File menu, click Exit to quit Visual Studio .NET. Click Start, and then click Run. In the Open text box, type cmd, and the click OK.</li> At the command prompt, type IPv6 install to install IPv6 on the computer.</li> Click Start, and then click Run.</li> In the Open text box, type iisreset .</li> Start Visual Studio .NET.</li> 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.</li> Verify that project opens successfully.</li></ol>

<div class="status_section">

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

<div class="moreinformation_section">

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.
 * 1) Create a new ASP.NET Web Application project by using Visual Basic .NET or Visual C# .NET. Name the project IPv6.
 * 2) On the Build menu, click Build Solution.
 * 3) On the File menu, click Exit to quit Visual Studio .NET.
 * 4) Click Start, and then click Run.
 * 5) In the Open text box, type cmd, and then click OK.
 * 6) Type IPv6 install to install IPv6 on the computer.
 * 7) Click Start, and then click Run.
 * 8) In the Open text box, type iisreset, and then click OK.
 * 9) Start Visual Studio .NET.
 * 10) 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.

<div class="references_section">