获得;保存对群集配置文件的更改时拒绝访问;配置appfabric缓存服务时

获得;保存对群集配置文件的更改时拒绝访问;配置appfabric缓存服务时,appfabric,distributed-caching,appfabric-cache,Appfabric,Distributed Caching,Appfabric Cache,我被困在这一个。。。我正在尝试使用appfabric为缓存群集配置第一个节点。我的架构将是: 4个群集节点 所有机器都在一个域内 配置XML文件将位于NAS文件夹中 我已创建域用户并向NAS文件夹添加读/写权限。在机器内部,我甚至尝试将该用户添加到administrators组,该用户配置为缓存服务帐户,但当“Configure AppFabric”应用程序结束时,我收到一个错误,但奇怪的是,该应用程序开始编写.xml配置文件,但它只是在错误输出之前删除它 我得到的错误是: System.Man

我被困在这一个。。。我正在尝试使用appfabric为缓存群集配置第一个节点。我的架构将是:

  • 4个群集节点
  • 所有机器都在一个域内
  • 配置XML文件将位于NAS文件夹中
  • 我已创建域用户并向NAS文件夹添加读/写权限。在机器内部,我甚至尝试将该用户添加到administrators组,该用户配置为缓存服务帐户,但当“Configure AppFabric”应用程序结束时,我收到一个错误,但奇怪的是,该应用程序开始编写.xml配置文件,但它只是在错误输出之前删除它

    我得到的错误是:

    System.Management.Automation.CmdletInvocationException: ErrorCode<ERRCMS0002>:SubStatus<ES0001>:Access denied while saving the changes to cluster configuration file. ---> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCMS0002>:SubStatus<ES0001>:Access denied while saving the changes to cluster configuration file. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
    at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
    at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
    at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
    at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
    at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
    at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
    at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
    at Microsoft.ApplicationServer.Caching.GlobalConfigReaderWriter.Save()
    --- End of inner exception stack trace ---
    at Microsoft.ApplicationServer.Caching.GlobalConfigReaderWriter.Save()
    at Microsoft.ApplicationServer.Caching.Configuration.Commands.NewCacheClusterCommand.BeginProcessing()
    --- End of inner exception stack trace ---
    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
    at System.Management.Automation.Runspaces.Pipeline.Invoke()
    at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
    at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
    at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
    at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
    at System.Management.Automation.PowerShell.Invoke()
    at Microsoft.ApplicationServer.Configuration.DistributedCacheProxy.NewCacheCluster(String provider, String connectionString, String size)
    at Microsoft.ApplicationServer.Configuration.DistributedCacheNodePage.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
    
    System.Management.Automation.CmdletInvocationException:错误代码:子状态:保存对群集配置文件的更改时拒绝访问。-->Microsoft.ApplicationServer.Caching.DataCacheException:错误代码:子状态:保存对群集配置文件的更改时拒绝访问。-->System.UnauthorizedAccessException:试图执行未经授权的操作。
    位于System.Security.AccessControl.Win32.SetSecurityInfo(资源类型、字符串名称、SafeHandle句柄、SecurityInfos安全信息、SecurityIdentifier所有者、SecurityIdentifier组、GenericAcl sacl、GenericAcl dacl)
    位于System.Security.AccessControl.NativeObjectSecurity.Persist(字符串名称、SafeHandle句柄、AccessControlSections includeSections、Object exceptionContext)
    位于System.Security.AccessControl.FileSystemSecurity.Persist(字符串完整路径)
    位于System.Configuration.Internal.WriteFileContext.Complete(字符串文件名,布尔值成功)
    位于System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(字符串streamName、布尔值成功、对象writeContext、布尔值assertPermissions)
    在System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IIInternalConfigHost.WriteCompleted处(字符串streamName,布尔值成功,对象writeContext)
    位于System.Configuration.MgmtConfigurationRecord.SaveAs(字符串文件名、ConfigurationSaveMode saveMode、布尔值forceUpdateAll)
    在Microsoft.ApplicationServer.Caching.GlobalConfigReaderWriter.Save()中
    ---内部异常堆栈跟踪的结束---
    在Microsoft.ApplicationServer.Caching.GlobalConfigReaderWriter.Save()中
    在Microsoft.ApplicationServer.Caching.Configuration.Commands.NewCacheClusterCommand.BeginProcessing()中
    ---内部异常堆栈跟踪的结束---
    位于System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable输入)
    在System.Management.Automation.Runspaces.Pipeline.Invoke()中
    在System.Management.Automation.PowerShell.Worker.ConstructionPipeLineandDoWork(运行空间rs,布尔performSyncInvoke)中
    在System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeedAndDoWork(运行空间rsToUse,布尔值isSync)中
    在System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable输入,PSDataCollection`1输出,PSInvocationSettings设置)
    在System.Management.Automation.PowerShell.Invoke(IEnumerable输入、PSInvocationSettings设置)中
    在System.Management.Automation.PowerShell.Invoke()中
    位于Microsoft.ApplicationServer.Configuration.DistributedCacheProxy.NewCacheCluster(字符串提供程序、字符串连接字符串、字符串大小)
    位于Microsoft.ApplicationServer.Configuration.DistributedCacheNodePage.backgroundWorker\u DoWork(对象发送方,DoWorkEventTargets e)
    

    有人能帮我吗?

    请确保您的用户实体(运行配置向导的实体)具有对NAS文件夹的读/写权限