【发布时间】:2015-06-06 07:38:17
【问题描述】:
我们正在尝试在 Windows 2012 IIS 8.5 上运行经典的 .asp 应用程序。 ASP 脚本通常可以工作,但是当出现错误(例如包含缺失或语法)时,我们只会看到:
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.
尽管我们在站点上启用了详细的错误消息,并且无论我们是远程运行应用程序还是通过本地主机运行应用程序。
我们想知道导致问题的脚本和代码行。
我们还尝试将 500 错误路由到错误处理 .asp 页面,该页面可以提供错误详细信息,但无济于事。
PS:好像也没有“ASP”功能所以没办法启用调试之类的。
【问题讨论】:
-
见stackoverflow.com/a/5912873/65775。要在 IIS 中获得 ASP 功能,您需要通过服务器管理器 > 添加角色和功能来添加它。
标签: asp-classic iis-8.5