Link to home
Start Free TrialLog in
Avatar of Advantex
Advantex

asked on

CRM 4 and Exchange 2010 Passes User Test but fails to track incoming replies.

I have a problem with the e-mail router.  I chose to setup the router with impersonation role access using a single user to access everyones mailbox.   All the tests in the router for my user account show as passed.  I have setup my user on CRM to use the e-mail router when sending and receiving and to track replies from CRM.  I sent a message successfully that uses the tracking token.  I then replied to it from an external address and I got the message successfully in my mailbox through Outlook.   The message however does not appear as a task in CRM.  

The router, server and srs are all on Rollup 14

I checked the windows event logs and 2 event errors reoccur every minute with the router appearing to be stuck on a message in my mailbox.  I checked my inbox and the messgae had an attachment of 150MB.  I therefore deleted the message in Outlook and cleared it from my deleted items. The problem however remains.  I have rebooted the crm app server, exchange server (where the email router resides).  The event logs are still repeating every minute.  I have attached both event errors below:

ANY IDEAS?

Message 1

#6511 - An error occurred while checking the e-mail message with subject "A3 Visio Template - 132.vsd" in mailbox x@x.uk.com for delivery to http://xxxx:5555/xxxxLtd. System.Web.Services.Protocols.SoapException: Server was unable to process request.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Crm.Sdk.Proxy.CrmService.Execute(Request Request)
   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.AcceptMessageInternal(EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.AcceptMessageInternal(EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.AcceptMessage(EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()\r\n
  0x80040b08
  The sender does not have an email address on the party record
  Platform

Message 2

#26234 - The E-mail Router service could not process a provider work item using assembly: Microsoft.Crm.Tools.EmailProviders.dll and class: Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider. Microsoft.Crm.Tools.Email.Providers.EmailException: Error: A folder with the specified name already exists.
   at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.LogEwsResponseErrorWarning(String message, ResponseClassType responseClassType)
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.MoveMessage(EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.MoveMessageIfNeeded(Exception e, EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.HandleAcceptMessageError(Exception e, EmailMessage emailMessage)
   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()
   at Microsoft.Crm.Tools.Email.Agent.ServiceCore.ExecuteProviderWork(Object providerQueueRequestObject)
Avatar of Feridun Kadir
Feridun Kadir
Flag of United Kingdom of Great Britain and Northern Ireland image

With regard to the second message, this article seems to address your issue:

http://blogs.msdn.com/b/benlec/archive/2009/09/30/microsoft-dynamics-crm-4-0-e-mail-router-unexpectedly-stalls.aspx

How many users do you have on your CRM system? Unless it is very few I would recommend that you consider changing to use a Forward Mailbox. Without a Forward Mailbox the E-mail Router has to poll each mailbox individually which can be time-consuming and may be leading to timeout issues. With a Forward Mailbox the router only has to monitor one mailbox and troubleshooting is much simpler.

Have a look at this http://www.microsoft.com/learning/_silverlight/learningsnacks/dynamics/snack19/Default.html for more info on forward mailboxes.
Avatar of Advantex
Advantex

ASKER

Tried the fix mentioned in article but to no avail.    The errors are still occurring.  We will only have 11 active users however according to microsoft article using the forward mailbox method, the rule deployment wizard will not work with Exchange 2010.  This will mean a manual excerise seting up a rule to forward everyones mail messages as an attachment to one forward mail account.  

However as I research this problem more on the web, I can see the CRM router often has problems reading messages within mailboxes.  So, managing one mailbox will be a lot easier than 11 by using the forward method.

I think I will setup the forwarding rule even though its a manual process.  Will update this post.
ASKER CERTIFIED SOLUTION
Avatar of Feridun Kadir
Feridun Kadir
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for that feridun.  I have implemented the forward mailbox and its working no problems.   Thanks for that info on the rule deployment wizard.