Error message after you click "ASP.NET Configuration" in Visual Web Developer 2005 on a computer that is running a 64-bit version of Windows Server 2003 or a 64-bit version of Windows XP: "Unable to connect to Visual Studio's Localhost Web Server"
This problem occurs because the ASP.NET registry keys are missing. The ASP.NET registry keys are missing when you install ASP.NET after the Enable32bitAppOnWin64 Microsoft Internet Information Services (IIS) metabase setting is set to a value of 1. Because IIS is configured to run in the 32-bit mode, the ASP.NET installation does not create the ASP.NET registry keys in the 64-bit registry. The ASP.NET installation creates the ASP.NET registry keys only in the 32-bit registry.
Click Start, click Run, type cmd, and then click OK.
2.
To enable the 64-bit mode, type the following command, and then press ENTER:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
3.
Type the following command, and then press ENTER:
cd C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
4.
To install the 64-bit version of ASP.NET, type the following command, and then press ENTER:
aspnet_regiis –i
5.
Type the following command, and then press ENTER:
iisreset
6.
To enable the 32-bit mode, type the following command, and then press ENTER:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
7.
Type the following command, and then press ENTER:
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
8.
To install the 32-bit version of ASP.NET, type the following command, and then press ENTER:
aspnet_regiis –i
9.
Type the following command, and then press ENTER:
iisreset
After you follow these steps, Visual Web Developer 2005 can correctly locate the path of the WebDev.WebServer.exe file. Therefore, the Visual Web Developer 2005 test Web server can be turned on.
Need More Help? Contact a Support professional by Email, Online or Phone.
Customer Service For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
Newsgroups Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.