Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Message from InvalidPluginExecutionException

(0) ShareShare
ReportReport
Posted on by 570

Hi,

I am throwing an error from Plugin using 'throw new InvalidPluginExecutionException(errorMessage.ToString());

System is throwing exception but showing extra message as 'If you contact support, please provide the technical details.'

I dont want to see this message, why is this showing.

When i worked it on CRM 2016 on premise i didn't see this error, but now on CRM 365 online i can see this error message,

7558.Exception.PNG

Thanks

Krishna

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Message from InvalidPluginExecutionException

    Hi Krishna,

    I'm also facing the same probelem. Could you please help me on this, if you've got any solution.

  • Suggested answer
    ajyendra Profile Picture
    ajyendra 1,732 on at
    RE: Message from InvalidPluginExecutionException

    Hi,

    try with this Jquery Reference

    api.jquery.com/.../

  • Sohail Raza Profile Picture
    Sohail Raza 30 on at
    RE: Message from InvalidPluginExecutionException

    Hi Sam,

    With D365 (Online) <BR> is visible as string but line break was inserted.

    Any suggestions

    Regards

  • Saddamk206 Profile Picture
    Saddamk206 777 on at
    RE: Message from InvalidPluginExecutionException

    Hi,

    We can throw an exception and display a message.

    throw new InvalidPluginExecutionException("Message here....");

  • Saddamk206 Profile Picture
    Saddamk206 777 on at
    RE: Message from InvalidPluginExecutionException

    Hi,

    We can throw an exception and display a message.

    throw new InvalidPluginExecutionException("Message here....");

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Message from InvalidPluginExecutionException

    Hi Bala,

    You can use the html line break element "<BR>" to make it invisible.

    throw new InvalidPluginExecutionException("<h3>  Your Message  </h3> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR>");

    Thanks & Regards

    Samuel A

  • balakrishna uppala Profile Picture
    balakrishna uppala 570 on at
    RE: Message from InvalidPluginExecutionException

    Hi Aric,

    My problem is I don't want to see the message

    'If you contact support, please provide the technical details.' I want to show only my custom message to the user.

    Is there a way i can remove that message?

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Message from InvalidPluginExecutionException

    Click on the Download Log File to see more additional details about the exception. It is very possible you will see the problem over there.

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,477 on at
    RE: Message from InvalidPluginExecutionException

    I think it's a relatively recent change. You can look up those screenshots in google - there used to be no that "contact support..." message before:

    https://www.google.ca/search?q=invalidpluginexecutionexception+message+2011&rlz=1C1GGRV_enCA754CA754&source=lnms&tbm=isch&sa=X&ved=0ahUKEwin98zVm6zVAhUK74MKHbVUCjsQ_AUICigB&biw=1411&bih=604

  • balakrishna uppala Profile Picture
    balakrishna uppala 570 on at
    RE: Message from InvalidPluginExecutionException

    Thanks for your reply Kashyap.

    Is this changed in CRM 365 only? I saw it is showing only given message in 2016 onpremise.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,492 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans