Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

Posted on by 350

Hi, suddenly most of our activities workflow we have developed for a customer have started to fail with the same exception:

Unhandled Exception: System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.


The code is never executed and only the exception is logged. The customer have D365 OnPremise version 8.2.2.112.The code was compiled with VS 2015 for .net framework 4.5.2 and the SDK 8.2. The same code in other CRM (OnPremise and the same version 8.2.2.112) is working fine. This is really drive us nut and causing a lot of problems for everybody. I Googled for the set_ExceptionRetriable method but there is no reference to it; MSDN has no idea about that method, too.

I would appreciate any guidance on how hot troubleshoot this issue.

Xavier

*This post is locked for comments

  • Verified answer
    Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

    Just to let you know that I finally found the cause of the problem. Indeed it was an incorrect version of the Microsoft.Xrm.Sdk.dll file but in the GAC at the Sandbox Server (previously I only checked the front end server). After updating the GAC with the correct file, everything is working as expected. It seems some developer put the incorrect file there while working in a SSIS package which needed connection to the CRM.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

    Thanks Temmy, but I already did that and the problem remains. Just for testing, I have just created a simple workflow activity from scratch following Microsoft recommendations in this article docs.microsoft.com/.../create-custom-workflow-activity but I had exactly the same error.

    I double checked the SDK DLLs at the server and XRM.SDK and XRM.SDK.WORKFLOW both have the correct version. I reviewed the GAC at the front end server and there is no SDK dlls registered there, so they are being called from the web application folder.

    Any other ideas are much appreciated.

  • Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

    Workflow? Try again to deactivate and activate again to check weather because of that one or not?

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

    Thanks Goutam, but the problema remains. I verified the .net framework version running in the faulty CRM with the one installed in the crm which runs fine and both are the same. Any other idea?

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Method not found: 'Void Microsoft.Xrm.Sdk.OrganizationServiceFault.set_ExceptionRetriable(Boolean)'.

    Hi ,

    Try to upgrade. Net framework with latest one.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans