How fix Unauthorized Requested Registry Access when access docsetexport.aspx

Copper Contributor

Hello,

I work with Sharepoint Server 2019,

I have an critical error in the ULS logs with docsetexport.aspx : 

Application error when access /_layouts/15/DocSetExport.aspx, Error=Unauthorized Requested Registry Access, 

the zip file is created but corrupted and 20 ko in size

 

error ULS :

Application error when access /_layouts/15/DocSetExport.aspx, Error=Accès au registre demandé non autorisé.   à System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)     à Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)     à Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)     à MS.Utility.EventTrace.IsClassicETWRegistryEnabled()     à MS.Utility.EventTrace..cctor()

Getting Error Message for Exception System.TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'MS.Utility.EventTrace'. ---> System.Security.SecurityException: Accès au registre demandé non autorisé.     à System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)     à Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)     à Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)     à MS.Utility.EventTrace.IsClassicETWRegistryEnabled()     à MS.Utility.EventTrace..cctor()     --- Fin de la trace de la pile d'exception interne ---     à MS.Utility.EventTrace.EasyTraceEvent(Keyword keywords, Event eventID)     à System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)     à Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet.ExportInternal(UInt32 maxMBDocSet)     à Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet.Export(Stream stream, UInt32 maxMBDocSet)     à Microsoft.Office.DocumentManagement.Pages.DocSetExport.OnLoad(EventArgs e)     à System.Web.UI.Control.LoadRecursive()     à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     à System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     à System.Web.UI.Page.ProcessRequest()     à System.Web.UI.Page.ProcessRequest(HttpContext context)     à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     à System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)     à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

how to identify unauthorized access registry key ?

 

Thanks for your help,

Anne

0 Replies