zoukankan      html  css  js  c++  java
  • COPY ORCHARD GET 404: System.UnauthorizedAccessException: mappings.bin的访问被拒绝

    COPY ORCHARD 得到 404 错误,结果翻看Logs,得到的错误是:

    014-07-31 17:36:46,217 [16] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default
    (null)
    System.UnauthorizedAccessException: 对路径“C:MyWebxxx.comApp_DataSitesDefaultmappings.bin”的访问被拒绝。
       在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
       在 Orchard.FileSystems.AppData.AppDataFolder.CreateFile(String path)
       在 Orchard.Data.SessionConfigurationCache.StoreConfiguration(ConfigurationCache cac

    fixe 的方法是为当前站点的应用程序池加入权限,如下:

    C:UsersAdministrator>ICACLS C:MyWebxxx.comApp_Data /grant "IIS AppPoolxxx.com":F /T

    然后,一切 OK。

  • 相关阅读:
    keras多层感知机MLP
    局域网互通
    根号和分式
    vim简单的移动光标
    vim几种常用的插入模式
    LaTeX数学模式&上下标&代码块
    LaTeX入门
    ThinkPad X220i 安装 Mac OSX
    SUSE linux ,liveUSB制作方法
    KextWizard 的使用方法;以及Kext安装的几种工具下载
  • 原文地址:https://www.cnblogs.com/luminji/p/3881411.html
Copyright © 2011-2022 走看看