产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 网站打不开了 出现Server Error in '/' Application.
连通周董 - 2017/6/2 10:02:25
网站打不开了出现以下内容求大神帮忙解决

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>
xiyou - 2017/6/2 11:48:29
你这个是目录没有写权限导致的,本机或主机服务器参考:http://bbs.pageadmin.net/showtopic-41.aspx
虚拟主机的话联系主机商解决。
连通周董 - 2017/6/2 16:32:48
[b]回复 [url=http://bbs.pageadmin.net/showtopic-36291.aspx#138287]2楼[color=Olive]xiyou[/color]的帖子[/url][/b]

我已经赋予权限了 还是不能访问呢
xiyou - 2017/6/3 11:16:06
也有可能你得主机设置安全限制过高,禁止提交html内容
xiyou - 2017/6/3 17:36:45
参考:http://www.pageadmin.net/article/20140408/888.html
1
查看完整版本: 网站打不开了 出现Server Error in '/' Application.