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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Error while creating records in CRM 2013

(0) ShareShare
ReportReport
Posted on by 310

Hi Team,

When tried to create new records one by one in CRM 2013 (OnPrem) using plugin, getting below mentioned exception in 5 out of 10 records due to which these records are not getting created. 

For code analysis I have put logger in plugin, each step get executed successfully but when it comes to Create() method of CRM it throws below exception.

Microsoft.Crm.Extensibility.InprocessServiceProxy Microsoft.Crm.Workflow.SynchronousRuntime.SynchronousWorkflowContext        
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)
 at Microsoft.Crm.Extensibility.InprocessServiceProxy.CreateCore(Entity entity)

Kindly suggest how to tackle this exception.

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Manoj,

    Doublecheck if you have a real-time workflow that is get triggered on the creation of your records.

  • Shaun W Harvey Profile Picture
    242 on at

    Hello Manoj,

    It might also be worth inspecting any "Inner" Exception that might be present as well.

    Sometimes the really useful information as to what is happening is just under the surface of the main exception thrown.

    But the exception we can see, definitely points to a Real-Time Workflow.

    By design, they can throw exceptions and produce a "Business Process Error" in the UI just like a plugin.

    Another option you have on premise is to switch on the Server Side Tracing. The output of those logs give you a mountain of trace information.

    If you go down that route. Definitely use the "CRM Trace Reader" utility (available within XrmToolBox). It really helps to filter and organise the results.

    Good Luck!

    Shaun Harvey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans