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?