IIS 6+ is setup to return a 404 on executable types that are unrecognized or prohibited. This is the case with both ASP.NET 1.1 and 2.0.
- Open the "Internet Information Services (IIS) Manager" under "Administrative Tools".
- Navigate to the "Web Service Extensions" node.
- Select "ASP.NET v1.1.4322" or "ASP.NET v2.0.50727" in the right pane.
- Click "Allow".
If you don't see the expected version of ASP.NET listed under "Web Service Extensions", it's typically because IIS was installed
after .NET. You can run the
aspnet_regiis.exe
utility to remedy this:
- Get to a command prompt, e.g. Start>Run "
cmd
".
- Enter "
CD /D C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
" or "CD /D C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
" depending on which version of ASP.NET.
- Enter "
aspnet_regiis.exe -i
".
- Wait for the finished message; "
Start installing ASP.NET (1.1.4322.0)
" or "Start installing ASP.NET (2.0.50727.0)
" depending on which version of ASP.NET.
- Follow the previous set of steps to enabled ASP.NET in Web Service Extensions.
No comments:
Post a Comment