配置向导System.UnauthorizedAccessException:尝试执行未经授权的操作 [英] Configuration wizard System.UnauthorizedAccessException: Attempted to perform an unauthorized operation

查看:104
本文介绍了配置向导System.UnauthorizedAccessException:尝试执行未经授权的操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows Server 2012 R2上全新安装SharePoint 2013会破坏配置向导,但失败并给出以下错误.

我已获得完全许可,并拥有Windows \ tasks文件夹的所有权,但仍然遇到相同的错误.


 异常:System.UnauthorizedAccessException:尝试执行未经授权的操作.
    at System.Security.AccessControl.Win32.SetSecurityInfo(资源类型,字符串名称,SafeHandle句柄,SecurityInfos securityInformation,SecurityIdentifier所有者,SecurityIdentifier组,GenericAcl sacl,GenericAcl dacl)
    at System.Security.AccessControl.NativeObjectSecurity.Persist(字符串名称,SafeHandle句柄,AccessControlSections includeSections,Object exceptionContext)
    at System.Security.AccessControl.NativeObjectSecurity.Persist(字符串名称,AccessControlSections includeSections,对象exceptionContext)
    at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
    at Microsoft.SharePoint.Administration.SPResourceAccess.SecureResources(布尔值isSingleBox,EventHandler`1 progressUpdateEvent)
    at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
2017年8月23日10:09:37  INF                         输入函数Common.BuildExceptionMessage
2017年8月23日10:09:37  INF                           输入函数StringResourceManager.GetResourceString
2017年8月23日10:09:37  INF                             要检索的资源ID是语言英语(美国)的ExceptionInfo
2017年8月23日10:09:37  INF                             资源检索到的ID ExceptionInfo是引发了类型为{0}的异常.  其他异常信息: {1}
2017年8月23日10:09:37  INF                         离开函数StringResourceManager.GetResourceString
2017年8月23日10:09:37  INF                       离开功能Common.BuildExceptionMessage
2017年8月23日10:09:37  INF                         输入函数Common.BuildExceptionInformation
2017年8月23日10:09:37  INF                           输入函数Common.BuildExceptionMessage
2017年8月23日10:09:37  INF                             输入函数StringResourceManager.GetResourceString
2017年8月23日10:09:37  INF                               要检索的资源ID是语言英语(美国)的ExceptionInfo
2017年8月23日10:09:37  INF                               资源检索到的ID ExceptionInfo是引发了类型为{0}的异常.  其他异常信息: {1}
2017年8月23日10:09:37  INF                           离开函数StringResourceManager.GetResourceString
2017年8月23日10:09:37  INF                         离开功能Common.BuildExceptionMessage
2017年8月23日10:09:37  INF                         离开函数Common.BuildExceptionInformation
2017年8月23日10:09:37  ERR                         引发了类型为System.UnauthorizedAccessException的异常.  其他异常信息:尝试执行 未经授权的操作.
System.UnauthorizedAccessException:尝试执行未经授权的操作.
    at System.Security.AccessControl.Win32.SetSecurityInfo(资源类型,字符串名称,SafeHandle句柄,SecurityInfos securityInformation,SecurityIdentifier所有者,SecurityIdentifier组,GenericAcl sacl,GenericAcl dacl)
    at System.Security.AccessControl.NativeObjectSecurity.Persist(字符串名称,SafeHandle句柄,AccessControlSections includeSections,Object exceptionContext)
    at System.Security.AccessControl.NativeObjectSecurity.Persist(字符串名称,AccessControlSections includeSections,对象exceptionContext)
    at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
    at Microsoft.SharePoint.Administration.SPResourceAccess.SecureResources(布尔值isSingleBox,EventHandler`1 progressUpdateEvent)
    at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

请告知问题是什么以及如何解决

thx


iffi

解决方案

禁用防病毒可以达到目的.

thx


Hi,

Just fresh installation of SharePoint 2013 on windows server 2012 R2 while ruining configuration wizard it fails and give following error.

i have given full permission and take ownership of windows\tasks folder but still getting same error.


 Exception: 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.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
   at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
   at Microsoft.SharePoint.Administration.SPResourceAccess.SecureResources(Boolean isSingleBox, EventHandler`1 progressUpdateEvent)
   at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
08/23/2017 10:09:37  12  INF                          Entering function Common.BuildExceptionMessage
08/23/2017 10:09:37  12  INF                            Entering function StringResourceManager.GetResourceString
08/23/2017 10:09:37  12  INF                              Resource id to be retrieved is ExceptionInfo for language English (United States)
08/23/2017 10:09:37  12  INF                              Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
08/23/2017 10:09:37  12  INF                            Leaving function StringResourceManager.GetResourceString
08/23/2017 10:09:37  12  INF                          Leaving function Common.BuildExceptionMessage
08/23/2017 10:09:37  12  INF                          Entering function Common.BuildExceptionInformation
08/23/2017 10:09:37  12  INF                            Entering function Common.BuildExceptionMessage
08/23/2017 10:09:37  12  INF                              Entering function StringResourceManager.GetResourceString
08/23/2017 10:09:37  12  INF                                Resource id to be retrieved is ExceptionInfo for language English (United States)
08/23/2017 10:09:37  12  INF                                Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
08/23/2017 10:09:37  12  INF                              Leaving function StringResourceManager.GetResourceString
08/23/2017 10:09:37  12  INF                            Leaving function Common.BuildExceptionMessage
08/23/2017 10:09:37  12  INF                          Leaving function Common.BuildExceptionInformation
08/23/2017 10:09:37  12  ERR                          An exception of type System.UnauthorizedAccessException was thrown.  Additional exception information: Attempted to perform an unauthorized operation.
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.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
   at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)
   at Microsoft.SharePoint.Administration.SPResourceAccess.SecureResources(Boolean isSingleBox, EventHandler`1 progressUpdateEvent)
   at Microsoft.SharePoint.PostSetupConfiguration.SecurityTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

pls advise what is an issue and how to fix it

thx


iffi

解决方案

Hi,

disable Antivirus did the trick.

thx


这篇关于配置向导System.UnauthorizedAccessException:尝试执行未经授权的操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆