system.serviceModel/behaviors: assembly does not allow partial trust

Sep 9, 2010 at 5:22 AM

Hi Guys,
I'm not sure if I'm completely missing something.

I get the below error on trying to list the default Web Services on iWebCF version 2.
I have iWeb 3.5 installed and running and have previously installed and un-installed iWebCF version 1.5.
I am logged in as 'host' and have restarted the DNN Website, IIS and SQL.
I am compiling against ASP.NET 3.5
DNN Version 05.05.00

The url I am trying to access is: http://localhost/dotnetnuke_community/DesktopModules/IWebCF/CoreService.svc

An error occurred creating the configuration section handler for system.serviceModel/behaviors: That assembly does not allow partially trusted callers. (D:\InetPub\wwwroot\DotNetNuke_Community_05.05.00_Source\Website\desktopmodules\iwebcf\web.config line 30)

Here is lines 30 - 39 of the web config.

<behaviors>
  <serviceBehaviors>
    <behavior name="DefaultBehavior">
      <serviceMetadata httpGetEnabled="true" />
      <workflowRuntime />
      <serviceDebug includeExceptionDetailInFaults="true" />
    </behavior>
  </serviceBehaviors>
</behaviors>

Any ideas?