Shared Host Error: does not allow partially trusted callers

Topics: Data Access Application Block, Enterprise Library Core
Aug 2, 2007 at 12: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?

Thanks,

Morgan
Aug 2, 2007 at 11:49 AM
Hi,

You need to get the source for ObjectBuilder from the codeplex project at http://www.codeplex.com/ObjectBuilder. 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.

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

Thanks again for the tip.