locked
CRM sync issue RRS feed

  • Question

  • hello everyone,

     I am  having a problem with a sync error on CRM Dynamics 4, when trying to sync records to outlook.

      We have around 60 users who we have set up to sync. All of them apart from one i have setup successfully for syncronization between outlook and crm.

     The error message i get when i try and do a manual sync is :

    " an error has occured, try this action again, if the problem continues check the microsoft dynamics crm community or contact your microsoft dynamics crm administrator" 

    Here are some specs

    Outlook version i have tried on is 2003 and 2007 

     CRM is running upto rollup 9.

    exchange server is 2003

     the syncronising option is set correctly to : set this computer to be the syncrosing client.

     I have set this user up on another PC that is known to work with CRM syncing and i get the same error. And also the PC this person is using works for other users.

     I have run the CRM diagnostics and that has not helped

     I have also tried variations of  the actual type of record to sync in the crm options sync tab.eg just cleints, just phone calls, just letters.

    We attempted to reassign the records to a new user who does not have any records yet but we could not reassing them.  

    The user that has the problem has the same "role " as the other users that it works for

     any help will be much appriciated, i do have some log files from diagnositics but they are too long to post in this, i can email them to someone if that is a option.

    Thanks

    Daryl

    Sunday, June 27, 2010 11:55 PM

Answers

  • You can also try resetting the local files by running the CRM Outlook Client "Diagnostics" utility -

    Choose the "Support Mode" when launching the Diagnostics utility - then on the "Advanced Troubleshooting" tab click the "Delete" button.

    This has cleared up some odd issues I've had where everything appeared to be configured correctly, but an issue remained.


    Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell
    Tuesday, June 29, 2010 1:42 AM
    Moderator

All replies

  • Fiddler Soap Tracking Information. All the other clientId are fine but just this one

     

    Request:
    
    <?xml version="1.0" encoding="utf-8"?>
    
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
     <soap:Header>
    
      <CrmAuthenticationToken xmlns="http://schemas.microsoft.com/crm/2007/WebServices">
    
       <AuthenticationType xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">0</AuthenticationType>
    
       <OrganizationName xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">Camelot</OrganizationName>
    
       <CallerId xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">00000000-0000-0000-0000-000000000000</CallerId>
    
      </CrmAuthenticationToken>
    
     </soap:Header>
    
     <soap:Body>
    
      <Execute xmlns="http://schemas.microsoft.com/crm/2007/WebServices">
    
       <Request xsi:type="PrepareOutlookSyncSubscriptionClientsRequest">
    
        <OptionalParameters>
    
         <OptionalParameter xsi:type="CallPriorityOptionalParameter">
    
          <Value>100</Value>
    
         </OptionalParameter>
    
        </OptionalParameters>
    
        <ClientId>e06abf87-ea7f-df11-9b8a-00505698394d</ClientId>
    
        <Type>0</Type>
    
       </Request>
    
      </Execute>
    
     </soap:Body>
    
    </soap:Envelope>
    
     
    
     
    
    Response:
    
    <?xml version="1.0" encoding="utf-8"?>
    
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
     <soap:Body>
    
      <soap:Fault>
    
       <faultcode>soap:Server</faultcode>
    
       <faultstring>Server was unable to process request.</faultstring>
    
       <detail>
    
        <error>
    
         <code>0x80040216</code>
    
         <description>Can't find outlook contact filter for user</description>
    
         <type>Platform</type>
    
        </error>
    
       </detail>
    
      </soap:Fault>
    
     </soap:Body>
    
    </soap:Envelope>
    
    
    Monday, June 28, 2010 12:14 AM
  • All local datagroups for syncing are active? Just try this: deactivate the default local datagroup "My contacts" and create a new local datagroup "My contacts" and set up you filtering option. Then try syncing once again.

     


    Gruß Carsten Groth http://carstengroth.spaces.live.com
    Monday, June 28, 2010 6:16 AM
  • Hi Carsten,

    Thanks very much for your reply. I'm Daryl's Colleague. We have tried what you have suggested but it didn't work for us. In fact, we even deleted the data group and reset it but that didn't work either.

     

    Just wonder if there is a way that we can look deeper into what Crm server is processing. The error response from the web service is not very helpful.

     

    Thanks again

     

    Kelvin Shen

    Tuesday, June 29, 2010 12:22 AM
  • You can also try resetting the local files by running the CRM Outlook Client "Diagnostics" utility -

    Choose the "Support Mode" when launching the Diagnostics utility - then on the "Advanced Troubleshooting" tab click the "Delete" button.

    This has cleared up some odd issues I've had where everything appeared to be configured correctly, but an issue remained.


    Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell
    Tuesday, June 29, 2010 1:42 AM
    Moderator
  • Hi,

    We have found the cause of the issue. I have looked into the UserQuery View in the database. The OutlookFilters (Type code 256) query of user who we have problem sync with is owned by someone else! Now the question is down to how can we change the owner for that query. I cannot find any way to do it from the interface but I will write some code to do it. However if anyone has a better idea of how to do it please do let me know.

    Thanks

     

    Kelvin

    • Proposed as answer by Midnightoil Friday, July 16, 2010 2:23 AM
    Friday, July 16, 2010 2:22 AM