Quantcast
Channel: Adapters – SANDRO PEREIRA BIZTALK BLOG
Viewing all articles
Browse latest Browse all 47

BizTalk WCF Adapter – BasicHttpBinding results in Partial Trust Exception

$
0
0

Exception: System.ServiceModel.ServiceActivationException: The service ‘/MyService/Service.svc’ cannot be activated due to an exception during compilation. The exception message is: That assembly does not allow partially trusted callers.. —> System.Security.SecurityException: That assembly does not allow partially trusted callers.

SOLUTION

After some research I found that I’m getting problem because the WCF service requires full trust permission to run from the server. One way to solve the problem is:

  • Open web.config file in notepad
  • In <system.web> section add the following tag:
    • <trust level="Full" originUrl=""/>
      

These steps solved my problem.

Tags: BizTalk | WCF | Adapters | Errors and Warnings, Causes and Solutions



Viewing all articles
Browse latest Browse all 47

Trending Articles