We are encountering an issue with our Microsoft Dynamics 365 On-Premises environment where users cannot access the organization URL.
Environment Details:
-
Product: Microsoft Dynamics 365 On-Premises
-
Version: 9.1.42
-
Server: D365.test.local
-
Organization Name: test-01
-
IIS Version: IIS 10
Issue Description:
When attempting to access the organization URL, the application fails to load and generates an ASP.NET exception in the Windows Event Viewer.
Event Log Details:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Event ID: 1309
Event Code: 3005
Exception:
Source: ASP.NET 4.0.30319.0
Date: 3/5/2026 10:55:03 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: D365.test.local
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/5/2026 10:55:03 PM
Event time (UTC): 3/5/2026 8:55:03 PM
Event ID: 3bbfd3b4bde5467381b9f23b2dccef4f
Event sequence: 271
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-134172169416366596
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Dynamics 365\CRMWeb\
Machine name: D365
Process information:
Process ID: 9448
Process name: w3wp.exe
Account name: test\administrator
Exception information:
Exception type: CrmException
Exception message: The current organization id could not be determined.
at Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
at Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
at Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
at Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
at Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
at Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
at Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Application.Themes.Theme.get_Current()
at ASP.test_01__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: https://192.168.7.181:443/test-01/_common/styles/theme.css.aspx?lcid=1033&ver=-533910750
Request path: /test-01/_common/styles/theme.css.aspx
User host address: 192.168.7.181
User:
Is authenticated: False
Authentication Type:
Thread account name: test\administrator
the users login but after 40 sec of slow
Note : attached screen shots of the current state


Report
All responses (
Answers (