Email router was previously working correctly but has since stopped. Clicking 'Test Access' results in
Outgoing Status: Failure - An error occurred while checking the connection to the Microsoft Dynamics CRM server <myorganisationurl>. The request failed with HTTP status 503: Service Unavailable.
I can click the link to my organisations url and it loads up fine.
I have noticed in the event log on the app server that ASYNC process has the below error, that re-occurs when it is restarted;
Host S-VCLCRM03: error while processing organization 63c76c37-fe38-dd11-951b-000c2986423b. Exception: Microsoft.Crm.Metadata.EntityMetadataNotFoundException: The entity with ObjectTypeCode = 0 was not found in the MetadataCache.
at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.GetEntityLogicalNameFromObjectTypeCode(Int32 objectTypeCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.GetLookup(Object objectId, String objectIdName, Int32 objectDsc, Int32 objectTypeCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.<>c__DisplayClass2.<SelectEvents>b__0(Object[] values)
at Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)
at Microsoft.Crm.Asynchronous.QueueDataAccess.SelectEvents(Int32 numberOfEvents)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any help would be greatly appreciated.