I have a managed solution which contains a plug-in which has registered by Plug-in Registration tool. I exported that solution and while trying to import it in server I’m getting the following Error.
Error Code:0x80040256
Error Message: Action failed for assembly ‘CasePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3e98dc0610752b7a’: Assembly must be registered in isolation.
Can you help me what is the problem here..?
I assume the plugin was not registered in Sandbox-Mode. Therefore you need to have Deployment-Administrator privileges to import this solution.
Change the “Isolation Mode” of the assembly to “Sandbox” and export the solution again.
I strongly recommend to register all plugins in sandbox mode (isolation). Following restrictions apply for the plugin in the sandbox
See Plug-in Isolation, Trusts, and Statistics
Only use the non-isolated mode, when you have a real need for it. For example if you need access to the file system.