This is normally happening due to the fact that your real server:
a) is probably secure
b) is not running your code under admin account
c) has other security restrictions placed upon itself
You need to review security policy there, and do as you are told in the
description. For further info:
http://blogs.msdn.com/shawnfa/archive/2005/02/04/367390.aspx
and then walk yourself through MSDN. There is no easy answer for this from
remote...
On 9/26/06, Martin, David <Davi...@informais.com> wrote:
I am getting the following error:
*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.
When I create an EventQuery object. It does not happen on all web
servers. Only when I push the site live to my web host. Everything works
fine on my home web server.
Please help, thanks
David G. Martin
Senior Software Developer
Informa Investment Solutions
Voice: 919-941-2678
davi...@informais.com