PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

网站打不开了 出现Server Error in '/' Application. [复制链接]

1#
网站打不开了出现以下内容求大神帮忙解决

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>
分享 转发
TOP
2#

你这个是目录没有写权限导致的,本机或主机服务器参考:http://bbs.pageadmin.net/showtopic-41.aspx
虚拟主机的话联系主机商解决。
TOP
3#

[b]回复 [url=http://bbs.pageadmin.net/showtopic-36291.aspx#138287]2楼[color=Olive]xiyou[/color]的帖子[/url][/b]

我已经赋予权限了 还是不能访问呢
TOP
4#

也有可能你得主机设置安全限制过高,禁止提交html内容
TOP
5#
TOP
发新话题 回复该主题