Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running ASP Classic on IIS 7.5

I need to do some work on an old ASP Classic site, so I’m trying to host it on my IIS, but when I try load a page I get:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error.

When I follow the link, it takes me to a Microsoft site and talks about running ASP Classic on IIS 7, but none of the pages help and nothing I found on Google will get it to work. I have all the elements under turn Windows features on and off - IIS - WWW services - app dev features.

like image 952
David Avatar asked Aug 26 '11 14:08

David


People also ask

How do I run Classic ASP in IIS?

Click Start, and then click Control Panel. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.

Is Classic ASP still supported?

Classic ASP, however, is no longer being developed by Microsoft at all – it has long since been replaced by ASP.NET in 2002, a newer alternative.

What is the difference between IIS 7 and IIS 10?

There is no big difference between the versions after IIS7, only some functions are improved and added, such as HTTP/2, FTP, Logging Enhancements...... Whatever IIS8 or IIS10, both of them are great test platform for developers.


1 Answers

This was bugging me earlier today and it turned out I had an error in my script.

This assumes you have installed the ASP/ISAPI extensions via the Control Panel's "Add/Remove Windows Features."

By default, errors will not be sent to the browser. To enable sending errors to the browser, go to the site in your IIS manager. Double click the ASP icon and expand "Debugging Properties." Set "Send Errors to Browser" to True.

Enabling Send Error To Browser

like image 80
Krisc Avatar answered Oct 09 '22 19:10

Krisc