locked
Gettng error in remote service call through CRM plugin RRS feed

  • Question

  • Hi,

    We have a plugin which calls a remote service. This web service in this plugin has been configured corectly with service URL.

    At remote side, web.config is also configured correctly

    Following are the steps i had followed to update plugin.

    1. Made changes in plugin with test environment webconfig file.

    2. deployed this plugin into our internal test server where it works absolutely fine.

    3. Made a solution with this plugin to import it in another environment which is remotely located (say at IP: XXX.XX.XX.62).

    4. Our service is already deployed on another server (say IP:XXX.XX.XX.61), and its web reference is already created in plugin with service path.

    5. After triggering this plugin on new environment, this service is not get triggered.

    i have provided correct credentials to everywhere.

    Plugin shows the generic error-

    Workflow suspended temporarily due to error: Unhandled Exception: System.Net.WebException: The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="/_common/error/err.aspx?BackUri=&ErrorCode=0x80040204&Parm0=%0d%0a%0d%0aError%20Details%3a%20The%20current%20organization%20id%20could%20not%20be%20determined.&RequestUri=%2fDemoUploadServicesUAT%2fDemoProcedure.svc">here</a>.</h2> </body></html>

    CRM services, IIS server all has been restarted. Anonymous access is also enabled.

    Please suggest something on this.

    Thanks in advance.

    Regards,

    Jayesh

    Wednesday, May 27, 2015 3:04 PM

Answers

  • hey

    Got the answer.The issue is with service URL.

    • Marked as answer by JayeshAC Friday, October 2, 2015 4:01 AM
    Friday, October 2, 2015 4:01 AM

All replies

  • As i understand, you are making URL dynamicly in your plugin, so your URL is making wrong:

    The current organization id could not be determined

    tell about it.

    Thursday, May 28, 2015 7:36 AM
  • hey

    Got the answer.The issue is with service URL.

    • Marked as answer by JayeshAC Friday, October 2, 2015 4:01 AM
    Friday, October 2, 2015 4:01 AM