I have an asp.net application running in IIS 7.5. I have a standalone classic asp page that I've migrated from another site that I've now included as part of the asp.net application. I'm hosting the application on my local machine, but whenever I navigate to the classic asp page, I get a 404 Not Found error. The page is not missing and I have turned on ASP in IIS through Windows features. The asp.net pages are working fine.
Curiously, I have been able to host the page as its own site in IIS, but not when it's integrated with asp.net.
The IIS logfile contains the following line for the request:
2013-11-06 16:25:33 127.0.0.1 GET /test/testpage.asp - 80 [username] 127.0.0.1 [system info] 404 0 2 120
Thanks for any and all suggestions, let me know if you need any more information.
I got Failed Request Tracing working and was able to find this error in the logfiles when I traced the
ModuleName IIS Web Core Notification 16 HttpStatus 404 HttpReason Not Found HttpSubStatus 0 ErrorCode 2147942402 ConfigExceptionInfo Notification MAP_REQUEST_HANDLER ErrorCode The system cannot find the file specified. (0x80070002)
Ok, so the solution to this problem was super embarrassing - the link to the page was wrong, which was why it was working in every other capacity. At least I learned a lot about IIS?
User contributions licensed under CC BY-SA 3.0