Hello,
I am getting the below error while trying to open any entity from "CRM 2011 Visual Ribbon Editor " tool. I can connect to my crm organization but i cannot open any entities.
After checking the logs files I found that the issue is CRM is not able to access a registry but I could not identify it.
An idea about what is the issue ?
Exception Type: FaultException`1
Fault Action: schemas.microsoft.com/.../ExecuteOrganizationServiceFaultFault
Fault Code: Sender
Fault Action: schemas.microsoft.com/.../ExecuteOrganizationServiceFaultFault
Fault Code: Sender
Error Code: -2147220970
Error Message: An unexpected error occurred.
Error Trace:
Message: An unexpected error occurred.
Error Details: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
-------------------------------------------------
Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.TypeInitializationException: The type initializer for 'MS.Utility.EventTrace' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
at MS.Utility.EventTrace.IsClassicETWRegistryEnabled()
at MS.Utility.EventTrace..cctor()
--- End of inner exception stack trace ---
at MS.Utility.EventTrace.EasyTraceEvent(Keyword keywords, Event eventID)
at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
at Microsoft.Crm.CrmZip..ctor()
at Microsoft.Crm.ObjectModel.RibbonCustomizationService.BuildRibbonXml(String[] tabIds, String entityLogicalName, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RibbonCustomizationService.RetrieveEntityRibbon(String entityLogicalName, RibbonLocationFilters ribbonLocationFilter, ExecutionContext context)
-------------------------------------------------
*This post is locked for comments