Tuesday, September 05, 2006

ASP.NET 2.0 QuickStart Installation Issue

On a newly installed Visual Studio 2005, it is good to have the QuickStart tutorial pages handy.

But you might run into problems.

(1) How to install it.

Assuming that you've installed VS 2005 on the C: drive the installer is located in the following folder.

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\StartHere.htm

This will provide a link to the installer. But you might encounter an issue described in (2).

(2) Virtual Directory Registration Fails.

7:47:16 AM Tuesday, September 05, 2006: [Fail] Config_IIS_Install: IIS (Internet Information Services) Virtual Directory Registration (failed): [Fail] Failed to install ASP.NET Scriptmaps. Command: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/QuickStartv20

Resolution for this one is:

First install and register ASP.NET with IIS:From the SDK command prompt run

aspnet_regiis -ir -enable

Then run C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/QuickStartv20aspnet_regiis.exe should return a succes message.
Post a Comment