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 :
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

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans