Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9240429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:11:19+00:00 2026-06-18T08:11:19+00:00

I have a plugin that works on different boxes on different domains. However, I

  • 0

I have a plugin that works on different boxes on different domains. However, I have it registered on one particular box that continues to throw this error every time the applicable entity event is triggered. The caveat? The code isn’t even being executed. IE: The IPlugin.Execute() interface implementation is never reached. I just get the CRM dialog indicating “Invalid URI: The hostname could not be parsed.” every time.

I’ve confirmed the code isn’t being entered as I’ve attached Visual Studio to the applicable CRM processes. On the other boxes I can step in and through with no issues. This is how I determined the code isn’t being reached.

The plugin has been registered in the CRM the same as it is on the other machines. I’ve placed it underneath a particular Solution file and published (even though that step isn’t necessary).

Thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:11:19+00:00Added an answer on June 18, 2026 at 8:11 am

    I figured it out. I also figured it would be idiotic in nature once I figured it out.

    Summary: Unregister old, deprecated plugins.

    Details:

    This was a rewrite of a previously developed plugin (separate codebase), both of which are wrappers around a third-party web call. The third-party in question refactored their old-timey SOAP endpoint to a REST/JSON call. The SOAP call was officially taken offline on 1/15/13. AND…wait for it…the old plugins were still registered.

    So, the error you see above was being thrown by the old plugins after the SOAP endpoint was officially deprecated.

    The compounded problem? Since there were two IPlugin.Execute() interfaces wired to the same Entity.Event combination, I couldn’t step into my code to debug. Now that the old plugins have been unregistered, it steps in immediately as expected.

    The frosting on the cake? The execution of those two Execute() methods appeared to be completely nondeterministic. IE: Sometimes my new code would run (to a point), and sometimes it wouldn’t. So either both Execute() methods were being run at the same time or one would be called before the other sometimes and vice-versa.

    I won’t soon forget this one. Thanks to all you guys who commented above. I actually attempted the fresh creation of an empty plugin, but it obviously rendered the same results. Hopefully this’ll help someone someday.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small piece of code that works as a plugin for a
I have a plugin that is loaded by this application.. This plugin calls some
I have created a plugin in that i included one component.. So in that
I have a plugin that exposes a wcf service. if I test this service
I have created a jQuery plugin that works great with the exception of being
I have created a jQuery plugin that grabs a JSON feed (in this case
does jquery have any plugin that prevents entering any input to a textbox that
I have used a plugin that uses prototype js, it's working fine but the
I have a jQuery plugin that moves an element on the screen, but has
I have a C# plugin that uses a separate C++ DLL. The only reference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.