ERRO

System.AggregateException: One or more errors occurred. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers. at Spring.Rest.Client.Support.HttpEntityRequestCallba ck.DoWithRequest(IClientHttpRequest request) at Spring.Rest.Client.RestTemplate.DoExecuteAsync[T](Uri uri, HttpMethod method, IRequestCallback requestCallback, IResponseExtractor`1 responseExtractor, Action`1 methodCompleted) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:l ine 2741 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boo lean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.get_Result() at Spring.Social.OAuth1.OAuth1Template.b__0(Task`1 task) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIAL-RELEASE-JOB1\src\Spring.Social.Core\Social\OAuth1\OAuth1Te mplate.cs:line 205 at System.Threading.Tasks.Task`1.<>c__DisplayClass1a` 1.b__19() at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj) at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.Security.SecurityException: That assembly does not allow partially trusted callers.


Anyone know a known solution for this error? it only appears on the server

ASP.NET MVC 4