IIS6 does not find .asp files

In the hope that someone can answer this question, although it is not 100% programming related. All of a sudden, my IIS6 installation on a 2003 server will give me a "404 Not Found" error when I try to download any file ending in .asp.

I can see the file there if I turn on directory browsing but immediately click on it 404. Normal HTML page loading is just fine, it's just ASP files it can't find even though they're right next to the HTML file.

I'm probably forgetting something stupid - can someone remind me what I need to do to get it to boot properly?

0


source to share


3 answers


In the Web Service Extensions area, make sure the server server pages are enabled



+6


source


Spirit - I knew it was something stupid that I just forgot (shows how often I use Classic ASP). Thanks a bunch.



0


source


We have faced this issue recently. Apart from the web service extensions where asp can be enabled, there is a different place to check on each site.

Virtual Directory: In IIS 6.0, open the properties of the virtual directory. Go to the virtual directory tab - at the bottom, click on setting - make sure the .asp extension is in that list. If it is not, you can find the dll somewhere like this path: C: \ WINDOWS \ system32 \ inetsrv \ asp.dll. In addition, verbs must be added in the same window. The main options are GET, HEAD, POST (and possibly TRACE if needed).

Website In IIS 6.0, open the site properties. Go to the Home DIrectory tab - at the bottom, click on config - make sure the .asp extension is in that list. If it is not, you can find the dll somewhere like this path: C: \ WINDOWS \ system32 \ inetsrv \ asp.dll. In addition, verbs must be added in the same window. The main options are GET, HEAD, POST (and possibly TRACE if needed).

Hope this helps - I haven't found this after a fairly extensive search.

0


source







All Articles