Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

SendEmailFromTemplateRequest Error

$
0
0

Hi, we are migrating our solutions from crm 2011 to crm 2016

everything was migrated successfully to the new developement envrionment

then i have deployed the solutions to the new prod envrionment and when i try to execute a "SendEmailFromTemplateRequest" i get this error:

The Web Service plug-in failed in OrganizationId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; SdkMessageProcessingStepId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; EntityName: email; Stage: 30; MessageName: SendFromTemplate; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'Microsoft.Xrm.Sdk.EntityReference'.

on the old crm2011 worked without problems and also on the new dev 2016 it works perfectly I really don't understand what is wrong in the new prod and how can i find out the problem.
i have tried adding some debug lines, and activating the tracing from the crm, but i could not find any useful info...

i don't know where this cast exception is located... and if there is no difference in the code how is it possible that it happens only in this system???

please i would be very grateful if you can share some ideas with me.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images