`
linuxstuding
  • 浏览: 1232924 次
文章分类
社区版块
存档分类
最新评论

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".

原因1: web.config 文件不完整.不是合格的asp.net 配置文件.
解决:您要检查web.config 是否合格,有时候是粗心,xml文件不完整.导致的问题

原因2: asp.net版本问题.asp.net有asp.net 1.1和 asp.net2.0 两个版本.
解决:请确定您网站asp.net需要 哪个版本支持.选择合适的服务器运行版本.我们默认是2.0的,如果需要升级到1.1请联系我们服务专员.

Server Error in '/' Application. OK已经解决

这样显示 都配置好了 这样

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> <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 modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>


加上下面一句便于查看错误:

<authentication mode="Forms"/>
<customErrors mode="Off"/>

分享到:
评论

相关推荐

    IIS无法访问asp!提示:Server Application Error

    The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server ...

    iis错误Server Application Error的解决方法(工具)

    iis错误Server Application Error的解决方法(工具)

    “/”应用程序中的服务器错误和Server Error in ”/” Application.的终极解决方法

    “/”应用程序中的服务器错误。 运行时错误 说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看...

    调试 Server Application Error 图文解决方法

    调试 Server Application Error 图文解决方法调试 Server Application Error 图文解决方法调试 Server Application Error 图文解决方法调试 Server Application Error 图文解决方法

    IIS出现server application error,最终解决办法

    IIS出现server application error,最终解决办法

    SAP Gateway Troubleshooting Guide 2019

    Server Error 5xx ............................................................................................................11 Solution Approaches .......................................................

    电脑鼠仿真软件

    driver code you type from the application. So if you want to save it you should cut and paste it to a file on your local machine. * There is no error checking of the JavaScript mouse driver code. If ...

    iis错误Server Application Error的解决方法

    iis错误Server Application Error的解决方法 我在用pb11.5做web发布过程中遇到这类错误,使用了这个修复工具搞定了,比较不错!

    IIS提示Server Application Error的解决方法集锦第1/2页

    The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server ...

    IIS 错误 Server Application Error 详细解决方法

    IIS 错误 Server Application Error 详细解决方法

    Red-Gate SQL Professional Toolbelt (part2)

    Result skopipastit in the second field application Finish SQL Compare® Pro: compare and synchronize schemas SQL Data Compare™ Pro: compare and synchronize data SQL Packager™: package, upgrade, ...

    Red-Gate SQL Professional Toolbelt (part1)

    Result skopipastit in the second field application Finish SQL Compare® Pro: compare and synchronize schemas SQL Data Compare™ Pro: compare and synchronize data SQL Packager™: package, upgrade, ...

    Red-Gate SQL Professional Toolbelt (part3)

    Result skopipastit in the second field application Finish SQL Compare® Pro: compare and synchronize schemas SQL Data Compare™ Pro: compare and synchronize data SQL Packager™: package, upgrade, ...

    Red-Gate SQL Professional Toolbelt (part4)

    Result skopipastit in the second field application Finish SQL Compare® Pro: compare and synchronize schemas SQL Data Compare™ Pro: compare and synchronize data SQL Packager™: package, upgrade, ...

    高性能服务框架ZYS.zip

    需要在conf/application.conf里配置端口和监听、日志等 需要有一个redis服务器,并且分布式服务器都能连接redis web端可以直接调用服务 使用如下 //注意:type为sql、file,要是需要别的功能,自己定义 if($_...

    php.ini-development

    interesting side-effects depending on your application and web server. ; You may be able to send headers and cookies after you've already sent output ; through print or echo. You also may see ...

    UABNTU LAMP

    2、步骤: ...或者用下面的指令在命令行安装。... 在连接数据库时,出现:Fatal error: Call to undefined function mysql_connect() 解决办法 是要安装php5-mysql数据库模块,可以通过新立得包管理器安装。

    sqlmap (懂的入)

    o Inband DBMS error messages o DBMS banner parsing o DBMS functions output comparison o DBMS specific features such as MySQL comment injection o Passive SQL injection fuzzing * It fully supports ...

    tomcat8 + nginx + memcached + cas 实现负载均衡的配置包

    #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; ...

    8-07-14_MegaCLI for linux_windows

    LSIP200233342 (DFCT) Error message displayed while deleting all ld's in MegaCLI, SLESS11 sp2 LSIP200232922 (DFCT) MegaCLI misspell the word "package" as "pakage" under ctrl version and it does not ...

Global site tag (gtag.js) - Google Analytics