简体   繁体   English

在Windows 8中使用Internet Explorer 10调试ASP

[英]Debugging ASP using Internet Explorer 10 in Windows 8

Just started using Windows 8 here at work and I'm trying to debug some classic ASP code. 刚刚开始在这里使用Windows 8,我正在尝试调试一些经典的ASP代码。

Anyway, if there's an error on the page I just get a generic "The page cannot be displayed because an internal server error has occurred." 无论如何,如果页面上有错误,我只会得到一个通用的“该页面无法显示,因为发生了内部服务器错误。” in IE10. 在IE10中。

Show friendly HTTP errors are turned off. 显示友好的HTTP错误已关闭。

If I use IE9 on a Windows 7 machine I get the full VBScript compilation error. 如果我在Windows 7计算机上使用IE9,则会收到完整的VBScript编译错误。

Get this same generic error in Chrome and Firefox so I'm not sure what is going on, anyone else encounter this? 在Chrome和Firefox中也遇到同样的通用错误,所以我不确定发生了什么,其他人会遇到这种情况吗?

If you're getting a 500 HTTP response, an exception happened on the server and you'll need to attach a debugger to the IIS process on the host machine. 如果收到500 HTTP响应,则服务器上发生了异常,您需要将调试器附加到主机上的IIS进程。

To see the exception details in your browser from a remote machine (which it sounds like what your Windows 8 PC is), make sure your web.config file has this setting: 要从远程计算机(听起来像Windows 8 PC)在浏览器中查看异常详细信息,请确保您的web.config文件具有以下设置:

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

This won't let you debug your code however. 但是,这不会让您调试代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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