Server Error in '/' Application错误

来源:百度知道 编辑:UC知道 时间:2024/05/03 02:19:12
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>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by

常规错误
说明:申请错误发生在服务器上. 目前这一应用场合,防止错误习惯的细节错误被认为采用遥控(出于安全原因). 可以,但应该在当地的浏览器运行服务器的机器. 详情:让这个特定细节错误信息城将在偏远机,请制造标签<customerrors>在"web.config"配置文件位于根目录目前网上应用. <customerrors>这个标签应该有"模式"为特征的"致富思源、富而思进". <!--Web.config配置档案缺 <configuration> <system.web> <customerrorsmode="off"/> </system.web> </configuration> 说明:当前错误页你可以看到错误页取代了传统的修改"Defaultredirect"应用属性的配置标签<customerrors>指出错误页URL的习惯. <!--Web.config配置档案缺 <configuration> <system.web> <customerrorsMode="remoteonly"defaultredirect="mycustompage.htm"/> </system.web> </configuration>