dhl:报错:应用程序中的服务器错误。

 <customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>

mode="Off" 时候为

 

“/NiceLegs”应用程序中的服务器错误。

未将对象引用设置到对象的实例。

这样的真实错误信息。

默认此代码为注释:

“/NiceLegs”应用程序中的服务器错误。

运行时错误

原文地址:https://www.cnblogs.com/dudu837/p/1772879.html