adsense

Tuesday, October 2, 2012

IIS 7.x asp.net 4.0 deployment

If  you have tried to deploy an asp.net 4.0 web application in IIS 7.x you would have come up with few configuration errors. Follow these steps to overcome these errors

 1)  To register .Net in IIS, open up an admin command prompt and navigate to the .NET 4 framework folder (C:\Windows\Microsoft.NET\Framework\v4.{version}). If you're on a 64 bit machine go to the Framework64 folder instead of the Framework folder. Then run aspnet_regiis -i in there  (you will need admin permission on windows 7 to do this)

 2)  Use the "ISAPI and CGI Restrictions" IIS feature to allow your CGI program to run.  You can either add the individual program or simply "Allow unspecified CGI modules".


Cheers
Samitha

No comments:

Post a Comment