Search This Blog

Tuesday, May 12, 2009

DotNet: ASP.NET v2.0.50727 missing from Web Services Extensions in IIS Manager

When you build Window 2003 R2 SP2 server – by default it has Microsoft.NET Framework 2.0 Service Pack 1 and Microsoft .NET Framework 3.0 Service Pack1 installed. You will notice ASP.NET v2.0.50727 is MIA(missing in action) in Web Services Extension in IIS manager. How you make it appear and make it as an “allowed” service?

The dumb way is to remove .NET Framework 3.0 SP1 and .NET Framework 2.0 SP1 then download the .NET Framework 2.0 and 3.0. After installing .NET Framework 2.0 the ASP.NET v2.0.40727 will show up. If needed, you can reinstall SP1 for both version which is quite boring process. Guess what, that’s what I did when I first notice the problem.

The smart way (which I am doing now!)is to start a DOS window – change to the following directory

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727> or C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727> for 64 bit

Type aspnet_regiis.exe – i

ASP.NET will register itself and show up in Web Service Extensions!

No comments: