5173进入购买页面时出现Server Error in '/' Application,该怎么解决?(具体步骤)

来源:百度知道 编辑:UC知道 时间:2024/05/29 23:24:01
5173进入购买页面时出现Server Error in '/' Application,该怎么解决?
进入购买页面的时候,页面变成如下类容:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
&l

这是个服务器的异常,在程序设计的时候,程序员都会定义自定义异常,自定义异常要继承Runtime接口,当程序碰到触发自定义的某个异常的时候就会从低层代码一层层向上抛,一般都会抛到视图层(IE访问的页面)来捕捉,就在试图层显示了.
你所碰到的异常是服务器异常,Application级别的异常是客户不能自己处理的,他是随服务器启动存在的,与服务器关闭消亡的.
system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
意思是服务器返回信息是RemoteOnly(只是标识)时,IE页面跳转到mycustompage.htm.由于服务器的异常导致没有返回RemoteOnly,程序无法在Web.Config的<configuration>中找到相符的配置,所以页面把Web.Config中的部分指对的内容加载出来.

对于你所说的问题,你需要对5173的开发组联系处理.