Skip to main content

Notifications

Announcements

No record found.

Dynamics CRM migration forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

The current organization id could not be determined, for URL: theme.css.aspx

Posted on by 10

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)

Thread information:
Thread ID: 84
Is impersonating: False



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.

Helpful resources

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans