May 2, 2012

Host ASP.Net 4.0 application on IIS

If you are getting this type of error when you trying to host .Net 4.0
website on IIS it means you have not registered 4.0 framework on IIS.

image

Go to visual studio 2010 command prompt and run this command

aspnet_regiis.exe –i

Now try to run your application hopefully you will not receive same error.

That’s It.
Enjoy Learning.

No comments:

Post a Comment