web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Message from InvalidPluginExecutionException

    Hi Bala,

    This is an expected behavior and cannot be changed. If I am not wrong, this was done to help MS support engineers to identify the exact time of the errors so that they can review the traces for that timestamp.

  • balakrishna uppala Profile Picture
    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.

  • Suggested answer
    ashlega Profile Picture
    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

  • Aric Levin - MVP Profile Picture
    30,190 Moderator 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.

  • balakrishna uppala Profile Picture
    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?

  • Suggested answer
    Community Member Profile Picture
    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

  • Saddamk206 Profile Picture
    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
    777 on at
    RE: Message from InvalidPluginExecutionException

    Hi,

    We can throw an exception and display a message.

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

  • Sohail Raza Profile Picture
    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

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

    Hi,

    try with this Jquery Reference

    api.jquery.com/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans