简体   繁体   中英

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.

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 .

启用向浏览器发送错误

我遇到了同样的问题,事实证明你需要将应用程序池设置为经典的.net才能工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM