Plugin isolation mode from sandbox to none RRS feed

  • Question

  • Hi all ;

    i have one plugin running on create of account in mscrm 2015 hosted environment the plugin runs fine when say isolation mode is None and synchronous but when set it to Sanbox it gives me this error

    System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state 

    Tuesday, March 24, 2015 6:23 PM

All replies

  • Hi,

    You can have 3rd party dll's in your plugin project? Or you have some server operations in your plugin code like writing a file ?

    If you find this post helpful then please Vote as Helpful and Mark As Answer. Thanks and Regards, Polat Aydın My blog

    Wednesday, March 25, 2015 10:06 AM
  • Hi ;

    no i am not writing anything on the server ,nor i have any third party dll

    Wednesday, March 25, 2015 12:13 PM
  • what is actually doing this plugin? it tries to call a webservice?

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Wednesday, March 25, 2015 12:21 PM
  • Hello,

    This answer might help you: http://stackoverflow.com/questions/2763592/the-communication-object-system-servicemodel-channels-servicechannel-cannot-be

    Cornel Croitoriu - Senior Software Developer

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"


    Friday, April 3, 2015 8:28 AM
  • Hi Anwar,

    Could you please let us know why you are setting your plugin to Sand Box Mode if its working fine at first place ?

    When you say SandBox mode , it means your plugin dont allow to allow to write system file.

    It might be the case where your plugin is writing some system file and you are not aware of this.




    Friday, April 3, 2015 11:13 AM
  •  Hi Anwar

    I have a trouble same. You had any solution for this, help me.



    Saturday, December 2, 2017 8:43 AM