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,...
Unanswered

Using ExecuteMultipleRequest to batch create record if there is performance problem.

(0) ShareShare
ReportReport
Posted on by 455

Hi Guys,

When I'm using ExecuteMultipleRequest to batch create record, I hit occasionally an exception "Connection State is closed. Please open the connection before executing the command.". I'm sure what are reasons. I used the tool CrmDiagTool2011 to grab this exception, I saw some details about System.Data.SqlClient.TdsParserStateObject, I don't know if I use service.create() to create record one by one, if this problem can be fixed.

BTW, I don't create many records at a time, probably less than a dozen. The most troubling part is that this problem doesn't recur every time.

I'm using dynamics 365 op verison.

Thanks,

Stone

I have the same question (0)

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 128 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 95

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans