Trusted Caller, ASP.NET and LinqSupportClasses DLL

Posts   
 
    
swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 08-Jan-2009 05:32:42   

I implemented a little Linq in an existing website that uses LLBLGen, on a shared host with pretty tight security, and got the error:

That assembly does not allow partially trusted callers.

By backing out the Linq code and removing the reference to SD.LLBLGen.Pro.LinqSupportClasses.NET35.dll the error went away.

It's pretty reproducible(did it twice). Is there something about the LinqSupportClasses assembly? Is it not signed? The assembly is marked as 2.6.08.1219.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 08-Jan-2009 09:33:22   

Hmm... the assembly indeed doesn't have the attribute. I'll add that.

(edit) does the attached dll solve the problem?

Frans Bouma | Lead developer LLBLGen Pro
swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 08-Jan-2009 15:29:24   

That solves it. Thanks!