CRM 2011 Plug-in consumes WCF service throws System.Net.WebPermission Error RRS feed

  • Question

  • Hi

    I have developed a plug-in which consumes WCF service on CRM 2011 on premises environment , and registered that as Sandbox mode

    but I am getting the following error message while executing the plug-in.

    “Request for the permission of type 'System.Net.WebPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed”

    So I registered again but the Isolation mode as  “None” (instead of Sandbox) then its working

    I know in sandbox mode the plugin doesn’t have much access on system files, Is there any way we can fix this error on Sandbox mode ? ,



    Tuesday, December 17, 2013 10:32 AM

All replies