HI All,
I am facing an issue in my CRM 2011 plugin. I am trying to pass a value to a third party application using rest and the first step it does is it authenticates the request. During this step I am getting an error as "Attempt by security transparent
method 'PLUGIN.AZRestHelper(System.String, System.String, System.String)' to access security critical method 'RestSharp.RestClient..ctor(System.String)' failed."
Details : Assembly 'PLUGIN, Version=1.0.0.0, Culture=neutral, PublicKeyToken=da6b3420aa582521' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations
in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
If any one can help out me in solving this issue will be a great help. Looking forward to suggestions.
Thanks in advance.
Sushant Sarkar || Microsoft CRM Dynamics Engineer