locked
System Jobs Failing RRS feed

  • Question

  • Hi i'm not sure whats going on with my CRM configuration at the minute but every system job including the matchcode updates seems to be failing. Is there any way to find out why its failing because the event viewer shows no signs of anything failing and the crm also gives no indication of the reasons for failure. Any help much appreciated.

    Thanks,

    Reece

    Tuesday, July 13, 2010 8:44 AM

Answers

  • Ok so i did resolve this issue quite easily. All i did was uninstall the CRM server and delete the contents of the CRM folder C:\Program Files\MSCRM then i reinstalled the CRM server and attatched the server back to the same CRM deployment and after a restart everything worked fine.

    I have another issue now but it's unrelated so i'll make another question for that.

    Thanks

    • Marked as answer by RSYR Wednesday, July 14, 2010 8:26 AM
    Wednesday, July 14, 2010 8:26 AM

All replies

  • Hi, Reece.

     

    You should switch on trace , restart Microsoft Asynchronous service, invoke execution some system job, check folder <crm server installation folder>\trace folder for trace logs. This will give you detailed description of error.


    Truth is opened the prepared mind

    My blog (english)
    Мой блог (русскоязычный)
    Tuesday, July 13, 2010 8:48 AM
    Moderator
  • Hiya thanks for that Andriy can anyone help me translate the trace? I've no clue what i should be looking for. I'll put a couple of the entries in below:

    [2010-07-13 10:04:12.8] Process:CrmAsyncService |Organization:a8b39214-69c9-40f4-9294-3cc75b111908 |Thread:    4 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncOperationCommand.Execute
    >Exception while trying to execute AsyncOperationId: {006C10E9-D6E6-4F9A-B465-57A6692100DB} AsyncOperationType: 12 -    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.SdkTypeProxy.CrmService.Execute(Request Request)
       at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Execute(Object request)
       at Microsoft.Crm.Asynchronous.DuplicateDetectionCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Asynchronous.PersistMatchCodeOperation.InternalExecute(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
    [2010-07-13 10:04:12.8] Process:CrmAsyncService |Organization:a8b39214-69c9-40f4-9294-3cc75b111908 |Thread:   17 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncOperationCommand.Execute
    >Exception while trying to execute AsyncOperationId: {60A4C499-2BAB-414C-AD15-A6BACC83A37D} AsyncOperationType: 12 -    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.SdkTypeProxy.CrmService.Execute(Request Request)
       at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Execute(Object request)
       at Microsoft.Crm.Asynchronous.DuplicateDetectionCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Asynchronous.PersistMatchCodeOperation.InternalExecute(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)

    Thanks for this.

    Reece

    Tuesday, July 13, 2010 9:10 AM
  • I tried an internet search on "Exception while trying to execute AsyncOperationId" and turned up this article by Ronald Lemmen:

    http://ronaldlemmen.blogspot.com/2009/11/exception-while-trying-to-execute.html


    Neil Benson, CRM Addict at Customery Ltd.You can reach me on LinkedIn or Twitter, and you're welcome to sign up to Customery, an online community for UK-based Dynamics CRM people.

    Tuesday, July 13, 2010 9:22 AM
    Moderator
  • Hi Neil i've tried those solutions but still no luck although my 2007 folder wasn't set to allow anonymous i've now altered that to no avail. Any ideas on the next steps i should take? i've already googled a few different related searches to see if it is a common issue which looks like it isn't.

    Reece

    Tuesday, July 13, 2010 12:24 PM
  • Latest Error message is:

    [2010-07-13 13:43:47.8] Process:CrmAsyncService |Organization:a8b39214-69c9-40f4-9294-3cc75b111908 |Thread:    4 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncOperationCommand.Execute
    >Exception while trying to execute AsyncOperationId: {DC700638-7C8E-DF11-8403-000E2E989025} AsyncOperationType: 4 -    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.SdkTypeProxy.CrmService.Execute(Request Request)
       at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Execute(Objec14:03 13/07/201014:03 13/07/201014:03 13/07/201014:03 13/07/2010t request)
       at Microsoft.Crm.Asynchronous.UserSettingsCacheLoader.RetrieveUserSettings(ICrmService crmService, Guid userId)
       at Microsoft.Crm.Asynchronous.UserSettingsCacheLoader.LoadCacheData(Guid userId, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Asynchronous.ImportOperation.GetUserLanguage(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.ImportOperation.InternalExecute(AsyncEvent asyncEvent)
       at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)

    User is definately a member of PrivUserGroup. Not sure what else i could do... Thanks

    Tuesday, July 13, 2010 1:05 PM
  • It might help us troubleshoot further if you can identify which system job is causing the problem.

    Using SQL Server Management Studio, run this query on the <yourCRMorganization>_MSCRM: Select * from asyncoperationbase where asyncoperationid = {DC700638-7C8E-DF11-8403-000E2E989025}. This will give you the name of the system job that's causing the problem.

    Asyncoperation type 4 is a Transform. This suggests that you've tried to import a file and the transform step has failed. Is this along the right lines? It might be easiest to cancel the import job and analyse the source data file. It's likely to contain some kind of issue such as corrupt data or illegal character that is preventing the import from being processed properly.


    Neil Benson, CRM Addict at Customery Ltd.You can reach me on LinkedIn or Twitter, and you're welcome to sign up to Customery, an online community for UK-based Dynamics CRM people.

    Tuesday, July 13, 2010 1:13 PM
    Moderator
  • Hi yes that will be a transform from the import i was trying to do however it is also the matchcode updates and ALL system obs i try to run. There are type 3 and type 2 also.

    The query wouldn't run due to the hyphens although they where in the actual columns.

    The trace file is huge but is mainly a repeat of the following at the minute:

    Matchcode Update: Leads;

    Matchcode Update: Contacts;

    Matchcode Update: Accounts;

    Import:<File>;

    Transform Parse:<File>;

    Import File Parse:<File>;

    These can all be seen in the System Jobs on the CRM as failed. The Asyncoperation types are 3 (parse), 4(transform), 5(import) and 12(PersistMatchCode) obviously the most reccuring is number 12 as they repeat every five or so minutes. Thanks

     

    Tuesday, July 13, 2010 1:57 PM
  • I didn't realise that so many types of system jobs were failing. I don't think there is much more that the community will be able to do to help you resolve this issue. You should consider opening a support case with Microsoft. You should be able to raise a support request by logging into CustomerSource: https://mbs.microsoft.com/customersource/.

    Sorry I can't help much further.


    Neil Benson, CRM Addict at Customery Ltd.You can reach me on LinkedIn or Twitter, and you're welcome to sign up to Customery, an online community for UK-based Dynamics CRM people.

    Tuesday, July 13, 2010 2:03 PM
    Moderator
  • Not a problem Neil thanks a lot for the help anyway. I'll post back here once the issue is resolved.

    Thanks,

    Reece

    Tuesday, July 13, 2010 2:29 PM
  • Ok so i did resolve this issue quite easily. All i did was uninstall the CRM server and delete the contents of the CRM folder C:\Program Files\MSCRM then i reinstalled the CRM server and attatched the server back to the same CRM deployment and after a restart everything worked fine.

    I have another issue now but it's unrelated so i'll make another question for that.

    Thanks

    • Marked as answer by RSYR Wednesday, July 14, 2010 8:26 AM
    Wednesday, July 14, 2010 8:26 AM