We have sometime experienced problems with opening Localhost on the server.
The following error:
HTTP Error 500.0 - Internal Server Error may occur.
This is caused by 1 or 2 things both related to errors in the following path:
C:\Windows\Microsoft.NET\Framework\V4.0.30319\
\aspnet_filter.dll
If working on a 64-bit server the Framework also have to be Framework64 and not just Framework as in the path above. Also if .NET 1.1 is installed the URL for isapi filter can be currupt with two \\ insead of one
which result in error HTTP (Morten Hjelmvig).
So the correct path is is:
C:\Windows\Microsoft.NET\Framework
64\V4.0.30319\aspnet_filter.dll
This is how to correct the error:
- Go to control panel
- open Administrative Tools
- Open Internet Information (IIS) Manager
- Select Default Web Site
( in tree in the left side)
- In the Center Pane: Double click ISAPI Filters
- double Click the generic ASP.Net_4.0 entry and set the exceutable path to:
C:\Windows\Microsoft.NET\Framework64\V4.0.30319\aspnet_filter.dll