web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugin Execution Error

(0) ShareShare
ReportReport
Posted on by

Hi,

I have created 2 plugins. first one will trigger while we create the "Lead" and the second one will trigger in "Enrollment"(custom entity) creation time. I try to call an API within the plugin in both cases. But the plugin is not working and getting some errors.

1) Lead

    56767.Capture.PNG

When I execute this plugin I got an error.
" One or more errors occurred.An error occurred while sending the request.Unable to connect to the remote serverA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.191.119.191:8089"

2) Enrollment

   56767.Capture.PNG

When I execute this plugin getting an error.

"One or more errors occurred.Request for the permission of type 'System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

Please advise me to solve these issues.
Thanks.
Gokul K

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    SergeyT Profile Picture
    310 on at

    Hi.

    Most probably the root of the issue is that you are using non-standard port for outgoing web requests. Only HTTP and HTTPS are allowed in sandboxes. Try to use 80 or 443 port.

    More details: msdn.microsoft.com/.../gg334752.aspx

  • Community Member Profile Picture
    on at

    Did you solve the issue?

    Did the problem was a port? 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans