logo       

Re: Application's trust level when creating an EventQuery object: msg#00225

org.google.api.calendar

Subject: Re: Application's trust level when creating an EventQuery object

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...

Frank Mantek

On 9/26/06, Martin, David <David.Martin@xxxxxxxxxxxxx> 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
david.martin@xxxxxxxxxxxxx 

 





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group.
To post to this group, send email to google-calendar-help-dataapi@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to google-calendar-help-dataapi-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise