locked
Dynamics CRM 2011 E-Mail Router & Exchange 2010 Cluster Error “Incoming Status: Failure - No results were found” RRS feed

  • Question

  • I have what seems a common problem setting up the router to handle incoming mail, but after spending a couple of days implementing the suggestions I ran out of ideas.

    The situation is as follows:

    All operating systems Win2k8R2 64 bit.

    Domain user names are @domain.local

    Mail addresses are @domain.com

    Dynamics CRM 2011 installed on server CRM. Exchange server 2010 cluster consisting of 2 mbx servers and 2 cas servers.

    Dynamics CRM E-mail Router installed on cas1 server, running as local system.

    Service domain account added to PrivUserGroup in AD. cas1 & cas2 servers added to PrivUserGroup in AD

    Service domain account added to CRM as full read-write System Administrator.

    Management Role Assignment given to service account to impersonate all account in the domain.

    Global Address Book membership checked for the accounts of interest.

    Access to GAB from service account checked.

    Logged in successfully to both domain & Outlook with all accounts of interest.

    I am getting "Incoming Status: Failure: No results were found." error when i try to test access from e-mail router config tool, with the following exception in event log:

    An error occurred while opening mailbox account@domain.com.
       Microsoft.Crm.Tools.Email.Providers.EmailException: No results were found.
       at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.IsCurrentUser()
       at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.GetService()
       at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.OpenMailbox()
       at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.InitExchangeConnector()
       at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.OpenMailbox()
       at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()

    When I check the IIS log on cas1 I see that the respective request contains:

     

    2011-09-30 14:19:15 192.168.1.128 POST /EWS/Exchange.asmx ;RC:a744e288-62f0-44bf-b506-
        54f0753fa283;Init>>Conn:0,HangingConn:0,AD:30000/30000/0%,CAS:54000/54000/0%,AB:30000/30000/0%,RPC:36
    000/36000/0%,FC:1000/0,Policy:DefaultThrottlingPolicy_a90f4c5f-dfd1-4e99-8a1f-
    3cf7adb8ffa3,Norm,Sub:5000/0;ErrorCode=ErrorNameResolutionNoResults;[C]
    Queues:0msec/Execute:51.8605msec;SoapAction=m:ResolveNames;Version=1;RpcC=2;RpcL=3;LdapC=1;LdapL=15;E
    nd(54.796ms)
    >>Conn:1,HangingConn:0,AD:30000/29986/1%,CAS:54000/53948/1%,AB:30000/30000/0%,RPC:36000/35998/1%,FC:1

    000/0,Policy:DefaultThrottlingPolicy_a90f4c5f-dfd1-4e99-8a1f-3cf7adb8ffa3,Norm[Resources:(Mdb)WINDDB
    (Health:-1%,HistLoad:0),(DC)DCSRV2.domain.local(Health:-1%,HistLoad:0),],Sub:5000/0; 443
    DOMAIN\serviceaccount 192.168.1.120 Mozilla/4.0+
    (compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.237) 200 0 0 91

    So I understand there is a name resolution issue, but how do I proceed from here?

    BTW, Exchange hosts around 10 different Accepted Domains, but the one of interest is set as default one.

    Thanks.


    Please vote if I helped out :) thanks all in this forum for helping with any problem i had. Enviroment: ------------ CRM 2011 On-Premise ver:5.0.9688.583 ,Server OS: Windows Server 2008 R2 64bit, Client OS: Windows 7 64bit, Internet Explorer 8 & 9, email router not installed, SQL Server 2008 with reports, different servers for crm and sql(1 server for crm , 1 server for SQL with report and another for the client pc),Office 2007, not the final production system but a development sytem.
    Monday, October 3, 2011 1:24 PM

Answers

  • Manage to fix the problem for future users just for reference.

     

    The problem was that i was using the Domain user names as username@domain.local but that was wrong.

     

    Changing that from the above bold to  domain\username fix the problem.

     

    thank you for your help.

     

     


    Please vote if I helped out :) thanks all in this forum for helping with any problem i had. Enviroment: ------------ CRM 2011 On-Premise ver:5.0.9688.583 ,Server OS: Windows Server 2008 R2 64bit, Client OS: Windows 7 64bit, Internet Explorer 8 & 9, email router not installed, SQL Server 2008 with reports, different servers for crm and sql(1 server for crm , 1 server for SQL with report and another for the client pc),Office 2007, not the final production system but a development sytem.
    • Marked as answer by gokou84san Thursday, October 6, 2011 6:56 AM
    Thursday, October 6, 2011 6:56 AM

All replies

  • Did you check the following link?

    On a side note, running Email Router service on local system account might be a problem too, since local system account doesn't have any network privileges. 


    Daniel Cai | http://danielcai.blogspot.com
    Monday, October 3, 2011 3:43 PM
  • Did you check the following link?

    On a side note, running Email Router service on local system account might be a problem too, since local system account doesn't have any network privileges. 


    Daniel Cai | http://danielcai.blogspot.com

     

    Thanks for the reply.

     

     Yes i have already checked the link you said . Thats why in my first post in this thread i put the comments :

    Global Address Book membership checked for the accounts of interest.

    Access to GAB from service account checked.

    as of your note for running router on local system account that is not an issue cause a connection with the CRM can be established and as i said before

    Service domain account added to PrivUserGroup in AD. cas1 & cas2 servers added to PrivUserGroup in AD

    Service domain account added to CRM as full read-write System Administrator.

     

    So again that is not the issue.

     

     


    Please vote if I helped out :) thanks all in this forum for helping with any problem i had. Enviroment: ------------ CRM 2011 On-Premise ver:5.0.9688.583 ,Server OS: Windows Server 2008 R2 64bit, Client OS: Windows 7 64bit, Internet Explorer 8 & 9, email router not installed, SQL Server 2008 with reports, different servers for crm and sql(1 server for crm , 1 server for SQL with report and another for the client pc),Office 2007, not the final production system but a development sytem.
    Tuesday, October 4, 2011 6:49 AM
  • Sorry, my previous response was not helpful, it was basically based on my speculations.

    I came across the following link, which reported the exact same problem as you have experienced. 

    Not sure if it helps, since you are reporting that you have checked GAB access from the service account. 


    Daniel Cai | http://danielcai.blogspot.com
    Tuesday, October 4, 2011 8:34 PM
  • every response could be helpful .

     

    manage to by pass the above kind of and now getting the error

    Email Router Incoming Status: Failure - The request failed with HTTP status 403: Forbidden

    which is strange because i have given full access for the account i have in the incoming and outgoing and the deployment.


    Please vote if I helped out :) thanks all in this forum for helping with any problem i had. Enviroment: ------------ CRM 2011 On-Premise ver:5.0.9688.583 ,Server OS: Windows Server 2008 R2 64bit, Client OS: Windows 7 64bit, Internet Explorer 8 & 9, email router not installed, SQL Server 2008 with reports, different servers for crm and sql(1 server for crm , 1 server for SQL with report and another for the client pc),Office 2007, not the final production system but a development sytem.
    Wednesday, October 5, 2011 7:39 AM
  • Manage to fix the problem for future users just for reference.

     

    The problem was that i was using the Domain user names as username@domain.local but that was wrong.

     

    Changing that from the above bold to  domain\username fix the problem.

     

    thank you for your help.

     

     


    Please vote if I helped out :) thanks all in this forum for helping with any problem i had. Enviroment: ------------ CRM 2011 On-Premise ver:5.0.9688.583 ,Server OS: Windows Server 2008 R2 64bit, Client OS: Windows 7 64bit, Internet Explorer 8 & 9, email router not installed, SQL Server 2008 with reports, different servers for crm and sql(1 server for crm , 1 server for SQL with report and another for the client pc),Office 2007, not the final production system but a development sytem.
    • Marked as answer by gokou84san Thursday, October 6, 2011 6:56 AM
    Thursday, October 6, 2011 6:56 AM