Hello,
our Event Viewer Log is growing and growing because of following error message:
Exception information:
Exception type: CrmException
Exception message: The current organization id could not be determined.
bei Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
bei Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
bei Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
bei Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
bei Microsoft.Crm.Application.Themes.Theme.get_Current()
bei ASP.org__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
bei System.Web.UI.Page.Render(HtmlTextWriter writer)
bei System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: xx:443/.../theme.css.aspx
Request path: /ORG/_common/styles/theme.css.aspx
User host address: xxxxxxxx
User: CORPORATION/mustermann
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY/NETWORK SERVICE
Thread information:
Thread ID: 84
Thread account name: NT AUTHORITY/NETWORK SERVICE
Is impersonating: False
Stack trace: bei Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
bei Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
bei Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
bei Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
bei Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
bei Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
bei Microsoft.Crm.Application.Themes.Theme.get_Current()
bei ASP.org__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
bei System.Web.UI.Page.Render(HtmlTextWriter writer)
bei System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Anyone having an Idea how to fix this? Happens every 2-5 minutes.
This happens since we updated our on-premise CRM System to Version 2104 (9.1.7.5), CRM App Pool is running as lokal Networkservice User.
Issue only happens on the URL provided in the error message
Thanks for your help.