zoukankan      html  css  js  c++  java
  • sharepoint网站就不能访问的问题

    今天遇到奇怪的问题,用sharepoint design在改模板样式,然后突然不能保存,并且无法访问该站点
    通过下面的链接找到了解决方案http://www.cnblogs.com/li7125502/archive/2007/09/13/891678.html

    错误信息:

    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.

    Details: To enable the details of this specific error message to be viewable on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


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

    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly"/>
        </system.web>
    </configuration>


    将customErrors mode改为Off后得到错误信息如下:

    Parser Error
    Description: An error occurred du
    ring the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Data at the root level is invalid. Line 1, position 1.
    Source Error:

    Line 1: <browsers>
    Line 2: <browser id="Safari2" parentID="Safari1Plus">
    Line 3: <controlAdapters>

    解决方案总的来说,很简单,就是删除c:\Inetpub\wwwroot\wss\VirtualDirectories\80(or your port #)\App_Browsers\compat.browser
    然后就可以重新访问了。
  • 相关阅读:
    第十一篇:Mysql系列
    mysql八:ORM框架SQLAlchemy
    mysql七:视图、触发器、事务、存储过程、函数
    mysql六:数据备份、pymysql模块
    工厂方法模式
    execution表达式
    CentOS系统下安装SVN及常用命令
    Spring Boot 表单验证、AOP统一处理请求日志、单元测试
    SSH文件上传代码片段
    JPA 实体映射
  • 原文地址:https://www.cnblogs.com/JustSoSo/p/1188424.html
Copyright © 2011-2022 走看看