Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

SQL Server Timed Out

Posted on by 162

Experts,

In the Dynamics online environment, we are getting an error of SQL Timed Out.

This is so strange to us, the whole entity \ table has only 5K records.

Further more, we can re-execute the same operation, then it might success.

Based on our observation, the pass rate is about 60% to 70%, i.e., you execute the same operation 100 times, 60 to 70 times it will success, the rest will fail.

Any idea except for opening a ticket with MS support, which we already did.

Thanks a million! 

  • Ning Zhu Profile Picture
    Ning Zhu 162 on at
    RE: SQL Server Timed Out

    Just a like search for one of the text fields, and no linked entity in this search.  So, it is a full table scan but only for 5K records, and we are not sure how this will be timed out.  Still waiting for MS to response.

  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: SQL Server Timed Out

    Hi Ning,

    What kind of operations are you doing with the current entity?

    You mentioned that  the whole entity\ table has only 5K records.

    Does it refer to the number of current entity records? I don't think it's the number of all entity records in the environment, right?

    If so, the reason for this may be the execution of a large number of other entity record influence operations related to the current entity.

    For a quick resolution, the best thing to do is to raise a support ticket with Microsoft. 

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: SQL Server Timed Out

    Hi Ning Zhu,

    Please post a screenshot of the error message along with any associated log files.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans