Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

CRM Exception: There must be one and only one site map in the system

(0) ShareShare
ReportReport
Posted on by

I've installed a second Front End/Deployment server in my test environment and everything seemed like it went well.  However, when I try to browse the website locally on the new server I get the following sequence of events in the Application Event Log:

1st Event:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/28/2018 12:58:10 AM
Event time (UTC): 3/27/2018 4:58:10 PM
Event ID: 52e16494c6664ccfa98ef4d161a71a32
Event sequence: 6
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT-1-131666434072762351
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
Machine name: mynewwebserver

Process information:
Process ID: 3576
Process name: w3wp.exe
Account name: domain\serviceaccount

Exception information:
Exception type: CrmException
Exception message: There must be one and only one site map in the system
at Microsoft.Crm.CrmException.Assert(Boolean condition, String message)
at Microsoft.Crm.Application.MasterSiteMap.RetrieveSiteMap(Boolean useReferenceXml, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMap.LoadMasterSiteMapInternal(DynamicMetadataCache metadataCache, Boolean useReferenceXml, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMap.LoadMasterSiteMap(DynamicMetadataCache metadataCache, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Caching.MasterSiteMapCacheLoader.LoadCacheData(Int32 key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Application.SiteMap.GetSiteMapForUser(IUser user, Client client, Boolean isOffline, String forceGroupProfiles)
at Microsoft.Crm.Application.SiteMap.GetSiteMapForUser(IUser user)
at Microsoft.Crm.Application.Controls.AppNavBar..ctor()
at ASP.staging_main_aspx.__BuildControlcrmAppNav()
at ASP.staging_main_aspx.__BuildControlTree(staging_main_aspx __ctrl)
at ASP.staging_main_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information:
Request URL: localhost/.../main.aspx
Request path: /Staging/main.aspx
User host address: ::1
User: domain\crmuser
Is authenticated: True
Authentication Type: Negotiate
Thread account name: domain\serviceaccount

Thread information:
Thread ID: 5
Thread account name: domain\serviceaccount
Is impersonating: True
Stack trace: at Microsoft.Crm.CrmException.Assert(Boolean condition, String message)
at Microsoft.Crm.Application.MasterSiteMap.RetrieveSiteMap(Boolean useReferenceXml, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMap.LoadMasterSiteMapInternal(DynamicMetadataCache metadataCache, Boolean useReferenceXml, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMap.LoadMasterSiteMap(DynamicMetadataCache metadataCache, Boolean retrieveLatest, IOrganizationContext context)
at Microsoft.Crm.Caching.MasterSiteMapCacheLoader.LoadCacheData(Int32 key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Application.SiteMap.GetSiteMapForUser(IUser user, Client client, Boolean isOffline, String forceGroupProfiles)
at Microsoft.Crm.Application.SiteMap.GetSiteMapForUser(IUser user)
at Microsoft.Crm.Application.Controls.AppNavBar..ctor()
at ASP.staging_main_aspx.__BuildControlcrmAppNav()
at ASP.staging_main_aspx.__BuildControlTree(staging_main_aspx __ctrl)
at ASP.staging_main_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

2nd Event:

A Sandbox Host is not available.
Source: w3wp.exe (3576)
Sandbox Host: myoriginalwebservername
Reason: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:callInfo. The InnerException message was ''Element' '_id' from namespace 'schemas.datacontract.org/.../Microsoft.Crm.Sandbox' is not expected. Expecting element '_fullOriginatingMachine'.'. Please see InnerException for more details.

I found a previous post about the SiteMapID's being duplicated in the database but I ran the recommended query and it looks like it's OK?

8883.6457.Capture.PNG

Categories:
  • Verified answer
    RE: CRM Exception: There must be one and only one site map in the system

    The issue ended up being that the new CRM Web Server was version 8.0.0000.1088 while the existing web server was version 8.2.0000.0749.  Once I updated the new server to Update 2 everything worked great.

Under review

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

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans