web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unable to invoke action from sync. plugin

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I have a sync. plugin that I am trying to invoke a test action from. However whenever I try and do so the 'Execute' method call below throws an exception.

OrganizationRequest req = new OrganizationRequest("new_tstaction"); req["ComponentName"] = source; req["Message"] = message; req["MessageType"] = messageType; req["TimeStamp"] = DateTime.Now; if (source == "Plugin") { req["ComponentName"] = className; req["EventCode"] = 1000; } //execute the request OrganizationResponse response = service.Execute(req);

All I get in the exception is the following: System.Runtime.Serialization.SerializationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #9AAC6CDD

Has anyone encountered something like this before? Am I missing anything?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahadeo Matre Profile Picture
    17,021 on at

    This error might come if you are passing different datatype  parameters than defined in action..

    e.g. if you defined float number  as one parameter in action but when calling from code you are passing integer  or vice versa..

    Check you are passing correct datatype parameters..

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans