Shared Host Error: does not allow partially trusted callers

Topics: Data Access Application Block, Enterprise Library Core
Aug 2, 2007 at 1:19 AM
Thanks in advance for any insight.

Version 3.0

Trying to deploy to a shared host and receiving the "does not allow partially trusted callers" error.
I applied the assembly: AllowPartiallyTrustedCallers attribute to GlobalAssemblyInfo.cs, but ObjectBuilder.dll is not rebuilt when recompiling the source.

How do I recompile ObjectBuilder.dll?


Aug 2, 2007 at 12:49 PM

You need to get the source for ObjectBuilder from the codeplex project at Then you'll need to update EntLib's projects to change the reference to ObjectBuilder's assembly to match your version, as you will not be able to build the assembly with the same signature.

Btw, unless you sign the assemblies you build, the APTCA should not be necessary.

Aug 2, 2007 at 2:32 PM
Thanks Fernando.
Aug 3, 2007 at 12:04 AM
The assemblies aren't signed, but applying the ATPCA made the web-host .Net environment happy.

Thanks again for the tip.