if someone can shed some light on this error
Unexpected exception from plug-in (Execute): CreateAppointment.CreateAppointment: System.Security.SecurityException: That assembly does not allow partially trusted callers.
I am trying to write a plugin which is using another dll
Please let me know if this information is not sufficient
I did mention
in code still no luck :(
I do not think that we can use a dll in a plugin.
you should merge your two dll with ilmerge and redeploy
Check below links.. might be helpful to solve your problem.
My Blog: MS CRM Customization
try to register your plugin outside the sandbox (option "None" inside the plugin registration tool window)
My blog: www.crmanswers.net - Rockstar 365 Profile - Follow me on Twitter
You need to do 2 things:
1. Register the another dll in GAC of the CRM server
2. Register the plugin in "None" mode rathers than Sandbox.
Please mark my answer as correct if you find so.
I tried to register plugin as none Isolation mode and i got the below error
<Message>Action failed for assembly 'CreateAppointment, Version=22.214.171.124, Culture=neutral, PublicKeyToken=4ea5f5b22d5e7971': Assembly must be registered in isolation.</Message>
1.I registered the dll in Gac bot not using GACUTIL but using Powershell
2. When i tried to register the plugin in None Mode i got below error
Are you in Deployment Administrators group of Deployment Manager?
If you are not deployment administrator, then also you will get this error.
please Check for more details
if you are deployment admin, and still getting error, then please check
Hope this will help..
Amazing that worked!!!!
i added myself as deployment administrator, registered my plugin as None in isolation mode and that made the trick
Thanks a lot Mahadeo :)
you are welcome..
Can you please mark answers as Verified.. which ever answers are helped..
So that it will helpful for other community users to resolve their similar issues.
Sorry I am new to community how would i mark answer as verified?
here are details
You do not have permissions to perform the requested action. :(
Only the user that started the thread and the moderators can mark an answer as verified.
Vamshee, probably you have two accounts, the first with your picture that asked the question (Vamshee Pasham) and the last one without picture (Vamshee), so please login with the first account in order to mark the answer.