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。

  • 相关阅读:
    括号序列
    单向TSP
    Black Box
    震惊!!!某初中生竟30min一蓝两紫一黑!!!
    荷马史诗
    SUFEQPRE
    UVA劲歌金曲
    UVA城市里的间谍
    饼图----插件
    折线图-----插件
  • 原文地址:https://www.cnblogs.com/luminji/p/3881411.html
Copyright © 2011-2022 走看看