We upgraded our version of CRM from 8.0 to 8.2 (CRM 2016 OnPrem).
Following that, any of our workflows with a step to send email are throwing an error on that step. I created a workflow with just a single step to send an email, and that is also throwing an error. The step to send an email is the CRM out-of-box workflow action.
The error thrown is a "Generic SQL error".
I'm not seeing anything further that would indicate what the problem is. I've looked through the application logs on our CRM servers, DB server, and I also ran the SQL profiler in an attempt to narrow this down. We've also tried rebooting all our CRM servers to resolve the issue, with no luck.
Would anyone have any other suggestions?
The error we see on the workflow:
Workflow suspended temporarily due to error: Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>fd6a194f-f3c6-4618-9462-89e161df0798</ActivityId>
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2018-07-25T17:56:13.9788813Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>fd6a194f-f3c6-4618-9462-89e161df0798</ActivityId>
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2018-07-25T17:56:13.9788813Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>fd6a194f-f3c6-4618-9462-89e161df0798</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #DE259D41</Message>
<Timestamp>2018-07-25T17:56:13.9788813Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText>[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.SendEmail]
[SendEmailStep1]
</TraceText>
</OrganizationServiceFault>
at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityContext executionContext, SendEmail sendEmail)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)








