Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error when trying to send an email created by a dialog

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I've a dialog that generate an email. The last page of the dialog is a link to open the generated email in order to verify it's content and send it.

When I click on send, I've got an unexpected error, and the log is saying :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>An unexpected error occurred.</Message>
<Timestamp>2015-03-22T16:49:06.3501512Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Any idea ?? manual email creation in CRM is not an issue, I can send them, and I've got other dialog or processes that are creating/sending email without any issues.

My CRM is not online but locally hosted.

Thanks

Laurent

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Error when trying to send an email created by a dialog

    Hi and thanks for the answer. It took me some times to get my IT for the logs.

    I get the logs now but can't find any Exceptions in it. nor error. What should I look for ?

    For the customization, I don't think there is some here, it's a dialog run from a task, that create an email linked to an account, no custom entities.

    Laurent

  • Suggested answer
    Bruno Lucas Profile Picture
    5,421 on at
    RE: Error when trying to send an email created by a dialog

    Hi,

    This is the famous Generic error. to see the real error you need to enable the crm tracer.

    https://support.microsoft.com/en-us/kb/907490

    can you share more information about your customization? look like it is using some custom code. even if it is not, you need to enable the tracer. maybe it may be also under system jobs or windows event log

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,118 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans