Posted by: Nishant Rana | January 7, 2009

IIS not serving ASP.NET pages

It mostly happens when IIS is installed after .NET is installed. So in this case we need to make use of aspnet_regiis.exe utility.
1) Go to command prompt
2) Go to the following path
“C:WINDOWSMicrosoft.NETFrameworkv2.0.50727″
depending on the version.
3) Enter “aspnet_regiis.exe -i”
4) It will display the message finished installing
5) Open your IIS
6) Select web service extensions
7) Click on Allow for ASP.NET v2.0.50727

That’s it . Now the IIS has been configured properly


Responses

  1. Thanks Nishant, I have been banging my head on the desk for a while about this kind of error – turns out the web service extension was prohibited

  2. i’m still getting page cannot be displayed error


Leave a response

Your response:

Categories