配置 Windows Server Appfabric for XML(作为缓存服务配置提供程序)时出错
配置 Windows Server Appfabric for XML(作为缓存服务配置提供程序)时出错:-
System.Management.Automation.CmdletInitationException:ErrorCode:SubStatus:无法设置配置存储上的权限:ErrorCode:SubStatus:配置网络共享上的权限时发生错误:访问被拒绝。请参阅产品文档手动配置商店权限。 ---> Microsoft.ApplicationServer.Caching.DataCacheException:错误代码:SubStatus:无法在配置存储上设置权限:错误代码:SubStatus:在网络共享上配置权限时发生错误:访问被拒绝。请参阅产品文档手动配置商店权限。 ---> Microsoft.ApplicationServer.Caching.DataCacheException:错误代码:子状态:在网络共享上配置权限时发生错误:访问被拒绝 ---> System.ComponentModel.Win32Exception:访问被拒绝 在 Microsoft.ApplicationServer.Caching.Configuration.NetworkShareManagement.NetworkShare.GetAccessControl(字符串服务器,字符串共享名称) 在 Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(字符串 serverName、字符串 shareName、IdentityReference[] ids) --- 内部异常堆栈跟踪结束 --- 在 Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(字符串 serverName、字符串 shareName、IdentityReference[] ids) 在Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(字符串velocityConfigPath,字符串帐户,字符串serviceHost) 在 Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetConfigurationStorePermissions() 在 Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.BeginProcessing() --- 内部异常堆栈跟踪结束 --- 在 System.Management.Automation.MshCommandRuntime.ThrowTerminateError(ErrorRecord errorRecord) --- 内部异常堆栈跟踪结束 --- 在 System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable 输入) 在 System.Management.Automation.Runspaces.Pipeline.Invoke() 在System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(运行空间rs,布尔performSyncInvoke) 在 System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(运行空间 rsToUse,布尔值 isSync) 在 System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable 输入,PSDataCollection`1 输出,PSInitationSettings 设置) 在 System.Management.Automation.PowerShell.Invoke(IEnumerable 输入,PSInitationSettings 设置) 在 System.Management.Automation.PowerShell.Invoke() 在 Microsoft.ApplicationServer.Configuration.DistributedCacheProxy.RegisterCacheHost(DistributedCacheSettings 设置) 在 Microsoft.ApplicationServer.Configuration.DistributedCacheNodePage.backgroundWorker_DoWork(对象发送者,DoWorkEventArgs e)
Error while configuring Windows Server Appfabric for XML (as Caching Service configuration provider) :-
System.Management.Automation.CmdletInvocationException: ErrorCode:SubStatus:Could not set permissions on configuration store : ErrorCode:SubStatus:Error occurred while configuring permissions on network share: Access is denied. Refer to the product documentation for manually configuring the store permissions. ---> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:Could not set permissions on configuration store : ErrorCode:SubStatus:Error occurred while configuring permissions on network share: Access is denied. Refer to the product documentation for manually configuring the store permissions. ---> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:Error occurred while configuring permissions on network share: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
at Microsoft.ApplicationServer.Caching.Configuration.NetworkShareManagement.NetworkShare.GetAccessControl(String server, String shareName)
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(String serverName, String shareName, IdentityReference[] ids)
--- End of inner exception stack trace ---
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(String serverName, String shareName, IdentityReference[] ids)
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetNetworkSharePermissions(String velocityConfigPath, String account, String serviceHost)
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.SetConfigurationStorePermissions()
at Microsoft.ApplicationServer.Caching.Configuration.Commands.RegisterCacheHostCommand.BeginProcessing()
--- End of inner exception stack trace ---
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
--- 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.RegisterCacheHost(DistributedCacheSettings settings)
at Microsoft.ApplicationServer.Configuration.DistributedCacheNodePage.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否要为缓存添加第二台计算机?如果是这样,这篇文章应该给你答案。
基本上,您要么需要获取新的计算机 SID,要么从域中删除您的计算机,然后将其添加回来。
Are you adding a second machine for your cache? If so, this post should give you the answer.
Basically, you either need to get a new Machine SID or remove your machine from the domain, and add it back in.