Hi,

I have a security problem in the site that I developed and deployed in this hosting.
When the page tries to connect to the database (using Repository Factory), the server returns following exception:
System.Security.SecurityException: That assembly does not allow partially trusted callers.

The exception occurs in data access layer.
The assembly of this layer allows partially trusted callers ([assembly: AllowPartiallyTrustedCallers])

Please, help me ASAP.

Thanks in advance!