Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

CrmException: SQL timeout expired.

Posted on by 5

 StackTrace: [CrmException: SQL timeout expired.]

at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()

at Microsoft.Crm.ApplicationQuery.RetrieveMultipleCommand.RetrieveData()

at Microsoft.Crm.ApplicationQuery.ExecuteQuery()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)

at Microsoft.Crm.Application.Controls.ActivitiesGridDataProvider.GetData(QueryBuilder queryBuilder)

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareGridData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareData()

at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)

 

[XmlException: Microsoft.Crm.CrmException: SQL timeout expired.

at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()

at Microsoft.Crm.ApplicationQuery.RetrieveMultipleCommand.RetrieveData()

at Microsoft.Crm.ApplicationQuery.ExecuteQuery()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)

at Microsoft.Crm.Application.Controls.ActivitiesGridDataProvider.GetData(QueryBuilder queryBuilder)

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareGridData()

at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareData()

at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData)

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)]

at Microsoft.Crm.Core.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I am facing this error in CRM while fetching dispatch view records. please help me to solve this problem

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans