Hi.
This week I upgraded Microsoft Dynamics 365 CRM On Premise to the latest version I found 9.1.17.29.
The previous one was 9.0.7.8.
Since then I have problems opening certain screens. Among the problems that I have encountered is when trying to create a Campaign from Marketing->Campaigns, I choose one and in the list of Campaign Activities, I click on +.
It redirects me to the main Panels screen.
If I look at the Event Viewer all I find is a warning with the message: The current organization id could not be determined.
Here I put the entire trace of the error in case it helps:
Event code: 3005
Event message: Excepción no controlada.
Event time: 21/05/2023 21:55:16
Event time (UTC): 21/05/2023 19:55:16
Event ID: 36c5ccaaae404b798e76ab4f170488fc
Event sequence: 568
Event occurrence: 9
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-133291705467180089
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Dynamics 365\CRMWeb\
Machine name: NAVISION-SERVER
Process information:
Process ID: 11332
Process name: w3wp.exe
Account name: Dominio\user
Exception information:
Exception type: CrmException
Exception message: The current organization id could not be determined.
en Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
en Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
en Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
en Microsoft.Crm.Application.Themes.Theme.get_Current()
en ASP.liptosa__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
en System.Web.UI.Page.Render(HtmlTextWriter writer)
en System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: navision-server/.../theme.css.aspx
Request path: /Organization/_common/styles/theme.css.aspx
User host address: 192.168.1.12
User: Dominio\user
Is authenticated: True
Authentication Type: Negotiate
Thread account name: Dominio\user
Thread information:
Thread ID: 113
Thread account name: Dominio\user
Is impersonating: False
Stack trace: en Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
en Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
en Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
en Microsoft.Crm.Application.Themes.Theme.get_Current()
en ASP.liptosa__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
en System.Web.UI.Page.Render(HtmlTextWriter writer)
en System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
-I don't think the problem is with the update, because I have another similar installation on a test server and it works fine there. I think the problem is in a permissions issue or when opening popup screens. This is an example of the screen that should open from my test server that works fine:
It is when it opens screens apart from the main one.
I have also encountered this error while trying to create a mail configuration from Settings->Mail Settings->Email Server Profiles->New->Exchange Online (Hybrid).
It also opens a separate screen and the message that comes out is this:
If I go to event viewer, I get the same error shown above:
Event code: 3005
Event message: Excepción no controlada.
Event time: 21/05/2023 22:06:38
Event time (UTC): 21/05/2023 20:06:38
Event ID: b2f7e8d9f4d24b83b98aaac42b1bebf8
Event sequence: 615
Event occurrence: 10
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-133291705467180089
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Dynamics 365\CRMWeb\
Machine name: NAVISION-SERVER
Process information:
Process ID: 11332
Process name: w3wp.exe
Account name: Dominio\user
Exception information:
Exception type: CrmException
Exception message: The current organization id could not be determined.
en Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
en Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
en Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
en Microsoft.Crm.Application.Themes.Theme.get_Current()
en ASP.liptosa__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
en System.Web.UI.Page.Render(HtmlTextWriter writer)
en System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: navision-server/.../theme.css.aspx
Request path: /Organization/_common/styles/theme.css.aspx
User host address: 192.168.1.12
User: Dominio\user
Is authenticated: True
Authentication Type: Negotiate
Thread account name: Dominio\user
Thread information:
Thread ID: 119
Thread account name: Dominio\user
Is impersonating: False
Stack trace: en Microsoft.Crm.Application.Security.UserInformationIdentity.get_OrganizationId()
en Microsoft.Crm.CrmCache`1.InternalAddEntry(String cacheKey, Object value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.CrmCache`1.AddEntryNoLock(String key, TValue value, String[] dependencyKeys, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntityFromLookupInternal(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookupCallback(String key, TValue value, IOrganizationContext context, Object parameter)
en Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
en Microsoft.Crm.Caching.BasicCrmCache`2.AddEntryFromLookup(String key, TValue value, IOrganizationContext context)
en Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
en Microsoft.Crm.Application.Themes.Theme.get_Current()
en ASP.liptosa__common_styles_theme_css_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
en System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
en System.Web.UI.Page.Render(HtmlTextWriter writer)
en System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
-I would appreciate any help. I have already given administrator permissions on all sites and nothing. I'm starting to get a little desperate. Should I go back to a previous version?
Greetings and thanks.