Crm Email Router stops sending out e-mails after a while RRS feed

  • Question

  • I've run into the apparently common problem where the E-mail router will stop sending out e-mails after a while.  I tried the solutions on http://workyoustupidthing.com/?p=61, and finally succeeding when I uninstalled the e-mail router, deleted the folder it was in, and reinstalled it. 

    For some reason it  appears to stop working after a while (unsure if it is a period of time or a number of e-mails), and the event log on the server contains this messagewebauth

    #61346 - An error occurred while checking for outgoing e-mail messages to process for SMTP: http://Server/Organization. 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.CrmPollingSendEmailProvider.RetrieveNextMessageInternal()
      at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RetrieveNextMessage()
      at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()\r\n

    If I click the 'Publish' button on the E-mail Routher Configuration manager, everything starts working again.  I'm wondering if it might be something in my Microsoft.Crm.Tools.EmailAgent.xml that isn't set correctly.  I've changed some values to try and speed the system up.  Here is my current setup:

    <?xml version="1.0" encoding="utf-8"?>
      <ConfigRefreshPeriod>30</ConfigRefreshPeriod><!--Default value 5000-->
     <ProviderConfiguration deploymentId="a941b624-1e70-4a8d-ac22-6d17031f837f">
      <UserId>List O' Users here</UserId>
      <QueueId>List O' Queues here</QueueId>
      <MaxMessageCount>30</MaxMessageCount><!--Default value 500-->
      <PendingStatusDelay>30</PendingStatusDelay><!--Default value 30000-->
      <SendingStatusDelay>60</SendingStatusDelay><!--Default value 60000-->


    Monday, May 3, 2010 5:08 PM


  • try to install the roullup update 10 full with e-mail router update
    Thanks for any help :) my blog is: http://www.waelk.com
    Wednesday, May 5, 2010 6:59 AM

All replies

  • Hello Dan,

    I do not see anything obviously wrong with your configuration file. What is more, the error in the Event Log points to an error with call to the CRM Web Service that the Email Router is not able to recover from. Typically, the easies way to determine the root cause is to enable Tracing on the CRM Server as described in this article: http://support.microsoft.com/kb/907490 . However, you should be careful about enabling tracing in a production environment as there are performance implications and the trace file can grow large very quickly. Ideally, you want to enable tracing, reproduce the error, and disable tracing right after that.  This may be more difficult with the type of error that you are experiencing.

    What Update Rollup do you have installed on your system? Have you also installed the latest Update Rollup for the Email Router as well?

    Ivan Kurtev

    Green Beacon Solutions LLC

    Tuesday, May 4, 2010 2:44 AM
  • try to install the roullup update 10 full with e-mail router update
    Thanks for any help :) my blog is: http://www.waelk.com
    Wednesday, May 5, 2010 6:59 AM