I developed a general solution for CRM 2011, which contains plug-ins , javascripts and entities etc... But the problem I am facing is that while importing this solution into any online instances, I am getting an error "plug-in must be registered by sandbox". I want to use this solution for both on-premise and online. What do I need to do?
2 Answers
4
votes
Assuming that your code doesn't violate any of the restrictions placed upon it with Sandbox (Isolation) mode (i.e. accessing the registry, the file system, threading, third party assemblies and similar) then your resolution may be as simple as changing the Isolation Mode of your plug-ins to "Sandbox" before re-exporting your solution and trying to import it again Online.
Try that first. If it fails and you don't understand why, post some code here :)