I used the "persist to entity" for the debug of plugin(due to the fact that my plugin is triggered via Action in javascript so I can only choose this debug option).
Code snippet:
WebRequest request = WebRequest.Create(SVC_URL + string.Format("?methods=3¶meter={0}", _id));
request.Method = "GET";
request.ContentType = @"application/json; charset=utf-8";
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
While I am debugging, it hit an error at:
"HttpWebResponse response (HttpWebResponse)request.GetResponse();"
and I couldn't proceed the plugin debug.
To verify above code is working, I had created a console program with similar code & I am able to "step over" the code during debugging & the code work fine without error.
Any clues why the tool stop working, I am using the 2016 version.
Thanks guys.
*This post is locked for comments
Hi Kentan,
Can you try doing the following?
1. Ensure that the Plugin Registration tool version you are using is from the SDK of the CRM version you are using.
2. Run the tool as an Administrator.
Hi Kentan,
As plugin registration tool is actually doing a reply, I think you can't access any resource outside CRM. That simply won't work.
Hi,
Can you try to run the tool as an administrator and check?
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156