Friday, May 30, 2014

IIS Fixes

Hi All,

    It would we be heaven for the developers as well as administrators, who deploy their web application on IIS in a newly installed OS and its runs without showing some errors due to some authentication, security and installation issues. I very often end with such kinds of issues, infact most of us would.So i would like to share some of my IIS fixes, so that it can be useful for someone new to IIS. You can also post the issues that you come across with.

1 . HTTP Error 500.19

When multiple versions of the .NET Framework are executing side-by-side on a single computer, the ASP.NET ISAPI version mapped to an ASP.NET application determines which version of the common language runtime (CLR) is used for the application. In some case the ASP.Net my not be correctly installed and mapped to IIS for that particular version.
It can be done by using the following,

Open Cmd in Administrator Mode and type the following command.

c:\Windows\Microsoft.NET\Framework\[framework in which your application runs]\aspnet_regiis.exe -i

Ex:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i