【问题标题】:Could not read Sitecore configuration无法读取 Sitecore 配置
【发布时间】:2014-11-03 16:30:43
【问题描述】:

我开始工作和安装 Sitecore ......创建了新站点......在 IIS 上发布......并想在 Sitecore 资源管理器中映射它 在 Sitecore Explorer 中打开站点时出现以下错误

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: 
Exception has been thrown by the target of an invocation. --->
 System.TypeInitializationException: The type initializer for 'Sitecore.Rocks.Server.Pipelines.WriteItemHeader.SerializationStatus' threw an exception. 
 ---> System.TypeInitializationException: The type initializer for 'Sitecore.Caching.Cache' threw an exception. ---> 
 System.InvalidOperationException: Could not read Sitecore configuration.

我看过类似的帖子。

建议从 IIS 中的站点删除只读权限。 .我这样做了...仍然是同样的问题

我检查了地图路径..它被更正为 IIS 中的路径 请推荐

【问题讨论】:

  • 网站是否使用浏览器工作?
  • 您的 IIS 用户是否拥有 webroot 权限?
  • 您有自定义的包含文件吗?如果是这样,请删除所有这些。如果这样可以解决问题,请将它们一一添加,直到找到罪魁祸首
  • 尝试给这个用户IUSER添加读写权限,

标签: iis content-management-system sitecore


【解决方案1】:

尝试向IUSR和IIS_IUSRS添加读取、执行和修改权限

【讨论】:

    【解决方案2】:

    对于所有仍然有上述错误的人:

    尝试选择“good old web service”而不是“hard rock web service”,如果您能够成功连接,那么最明显的原因是 Sitecore Rocks 与您的 Visual Studio 不兼容。

    【讨论】:

      猜你喜欢
      • 2017-02-20
      • 2021-10-23
      • 2019-01-08
      • 2012-07-10
      • 2013-10-04
      • 1970-01-01
      • 2022-07-06
      • 1970-01-01
      • 2021-01-20
      相关资源
      最近更新 更多