Medium Trust

Sep 16, 2009 at 1:10 PM

Hi There

I successfully used the dll on the dev environment (Full Trust)

But I cannot make it work in a Medium trust environment

A security exception occurs:

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.

 

Any idea?

Sincerely

Sep 16, 2009 at 9:34 PM
Edited Sep 16, 2009 at 9:35 PM

I included the source code directly into my main dll, made a few changes (Framework 2.0 target), recompiled and that works.

Thanks for this great project!

 

Coordinator
Oct 10, 2009 at 7:19 AM

Hi!

Thanks for letting me know it doesn't work in partial trust - I just didn't think about that. When I get round to it, I'll sort that out.

Thanks!

Adam

Jan 7, 2010 at 6:26 PM

For it to work in Medium Trust is very important as it is recommended and most hosting is going that way.

Feb 5, 2010 at 5:17 PM
elianchrebor wrote:

I included the source code directly into my main dll, made a few changes (Framework 2.0 target), recompiled and that works.

Thanks for this great project!

 

I don't suppose you could post these changes somewhere?  I'm trying to use this with a godaddy site and I'm getting the same thing.

Coordinator
Jun 17, 2010 at 7:19 PM
Edited Jun 17, 2010 at 7:20 PM
Hi, The latest update (v1.0) now supports partially trusted callers. Adam