Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Email Router Configuration Works, Error because Organization.svc url is incorrect.

$
0
0

I'm running into an issue with the email router. All the configuration and testing the deployment is successful against SMTP, however, no emails are being processed because it appears that the router is attempting to use the configuration URL https://discovery.domain.com/orgname and pre-pending that whole string into the Organization Service wsdl request, which I don't think is correct.

1. This is what's in the event viewer:

https://dev.domain.com/orgname/XrmServices/2011/Organization.svc?wsdl

 

2. Shouldn't the router be using?https://orgname.domain.com/XrmServices/2011/Organization.svc?wsdl

 

Is there some way something is misconfigured in MSCRM that would be causing this routing issue?

 

I can tell you that number 1 returns a 404, and number 2 returns the service.

Here's the actual stack error from the event-viewer on the machine where the router resides:

 

#26234 - The Email Router service could not process a provider work item using assembly: Microsoft.Crm.Tools.EmailProviders.dll and class: Microsoft.Crm.Tools.Email.Providers.ExchangeOnlinePollingSendEmailProvider. System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://dev.domain.com/orgname/XrmServices/2011/Organization.svc?wsdl'. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

   at System.Net.HttpWebRequest.GetResponse()

   at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

   at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

   --- End of inner exception stack trace ---

   at Microsoft.Crm.ServiceProxyCache`1.GetNewServiceProxy(Uri serviceUrl, Credential credentials, Uri homeRealmUrl, String passportEnvironment, String onlineServiceEnvironment)

   at Microsoft.Crm.Tools.Email.Providers.Utility.BuildOrganizationService(Uri organizationServiceUrl, String authMode, Credential credentials)

   at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()

   at Microsoft.Crm.Tools.Email.Agent.ServiceCore.ExecuteProviderWork(Object providerQueueRequestObject)


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images