locked
Error: Permission Denied RRS feed

  • Question

  • I'm facing a strange issue. I've CRM2011 with latest Rollup installed on my server. I create a new organization and create new Entity say "testEntity" which is being displayed in Workplace and Settings area. Now when I navigate through application by clicking on left navigation links, sporadically I'm getting standard CRM error dialog box. When I enable the Java Script debugging feature from IE settings, I get an error saying "Error: Permission Denied". Please suggest fix around this issue.

    Friday, August 17, 2012 11:10 AM

Answers

  • I tried accessing CRM Web app using alias/Server Name as well as with IP. Both the cases we're getting this error.

    And Yes !! I've tried running CrmDiagTool and it consistently shows few warning messages and one platform error.

    Warnings:

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/default.aspx].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/tools/business/business.aspx?pagemode=iframe].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/_common/styles/theme.css.aspx?lcid=1033&theme=Outlook14Silver&ver=1586027632].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/_controls/ribbon/RibbonLayout.js.aspx?hierarchy=00000000-0000-0000-0000-000000000000&id=EntityTemplateTab.new_sample.NoRelationship.HomePageGrid.Mscrm.HomepageGrid.new_sample.MainTab&ise=1&lcid=1033&mver=-573118271&oc=0&rver=333116103&ver=1586027632].

    Error:

    at SystemLabelDictionaryCacheLoader.LogDetails(Int32 languageCode, Int32 totalLabels, IOrganizationContext context)

    at LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)

    at LabelCache.TryLookupEntry(Int32 languageCode, Guid objectId, String objectColumnName, IOrganizationContext context)

    at LabelCacheLabelCollection.HasLabels(IOrganizationContext context)

    at PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)

    at PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)

    at PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

    at PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

    at PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)

    at MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)

    at DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)

    at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)

    at MetadataCache.GetInstance(IOrganizationContext context)

    at BusinessEntityMoniker..ctor(Guid id, String entityName, IOrganizationContext orgContext)

    at UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

    at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

    at CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)

    at CrmMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)

    at SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid, LocatorServiceContext locatorServiceContext)

    at SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)

    at CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)

    at WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)

    at AuthenticationStep.Authenticate(HttpApplication application)

    at AuthenticationPipeline.Authenticate(HttpApplication application)

    at AuthenticationEngine.Execute(Object sender, EventArgs e)

    at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    at ApplicationStepManager.ResumeSteps(Exception error)

    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    >Not an error. System LabelDictionary was loaded for language 1033 from organization {B69F999B-2AE8-E111-AF3D-00155DC8B62A} with 19279 labels

    • Marked as answer by CRM Junky Sunday, January 20, 2013 4:58 AM
    Friday, August 17, 2012 1:08 PM

All replies

  • Do you use an alias to access the CRM web application?

    My blog : http://mscrmtools.blogspot.com


    Did you try the new CrmDiagTool for Microsoft Dynamics CRM 2011 ? If not, follow me

    Friday, August 17, 2012 11:53 AM
    Moderator
  • I tried accessing CRM Web app using alias/Server Name as well as with IP. Both the cases we're getting this error.

    And Yes !! I've tried running CrmDiagTool and it consistently shows few warning messages and one platform error.

    Warnings:

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/default.aspx].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/tools/business/business.aspx?pagemode=iframe].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/_common/styles/theme.css.aspx?lcid=1033&theme=Outlook14Silver&ver=1586027632].

    >MapOrgEngine: Unable to retrieve the OrgId for URL[http://<<Servername>>/CRMORG/_controls/ribbon/RibbonLayout.js.aspx?hierarchy=00000000-0000-0000-0000-000000000000&id=EntityTemplateTab.new_sample.NoRelationship.HomePageGrid.Mscrm.HomepageGrid.new_sample.MainTab&ise=1&lcid=1033&mver=-573118271&oc=0&rver=333116103&ver=1586027632].

    Error:

    at SystemLabelDictionaryCacheLoader.LogDetails(Int32 languageCode, Int32 totalLabels, IOrganizationContext context)

    at LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)

    at LabelCache.TryLookupEntry(Int32 languageCode, Guid objectId, String objectColumnName, IOrganizationContext context)

    at LabelCacheLabelCollection.HasLabels(IOrganizationContext context)

    at PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)

    at PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)

    at PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

    at PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

    at PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)

    at MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)

    at DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)

    at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)

    at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)

    at MetadataCache.GetInstance(IOrganizationContext context)

    at BusinessEntityMoniker..ctor(Guid id, String entityName, IOrganizationContext orgContext)

    at UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

    at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

    at CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)

    at CrmMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)

    at SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid, LocatorServiceContext locatorServiceContext)

    at SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)

    at CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)

    at WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)

    at AuthenticationStep.Authenticate(HttpApplication application)

    at AuthenticationPipeline.Authenticate(HttpApplication application)

    at AuthenticationEngine.Execute(Object sender, EventArgs e)

    at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    at ApplicationStepManager.ResumeSteps(Exception error)

    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    >Not an error. System LabelDictionary was loaded for language 1033 from organization {B69F999B-2AE8-E111-AF3D-00155DC8B62A} with 19279 labels

    • Marked as answer by CRM Junky Sunday, January 20, 2013 4:58 AM
    Friday, August 17, 2012 1:08 PM
  • Hi

    I am facing the same problem.

    Does anyone has any suggustion, how to resolve this issue???

    Thursday, January 10, 2013 8:56 AM