3 messages in com.googlegroups.google-calendar-help-dataapiRe: Application's trust level when cr...
FromSent OnAttachments
Martin, David26 Sep 2006 05:57 
Frank Mantek26 Sep 2006 07:01 
Kyle Marvin26 Sep 2006 07:08 
Subject:Re: Application's trust level when creating an EventQuery object
From:Frank Mantek (fman@gmail.com)
Date:09/26/2006 07:01:02 AM
List:com.googlegroups.google-calendar-help-dataapi

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