last bit of info: running in a VS2005 or VS2003 environment? I plan to work on this in the next few days, so the less i have to do to repro it, the faster i get to the bottom of it.
I wish those messages would be more helpful :) Ideally, if you have time, file a bug on the issue list and attach a .zip project. Frank Mantek Google On 6/5/07, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > > Ok. I think I can reproduce it locally now. I added <trust > level="Medium" originUrl=".*"/> in my web app's web.config to similar > a medium trust environment that's configured on my web host. I can > reproduce the same problem in ASP.NET Development Server now. > > I basically just have code that calls the client library to retrieve a > feed. Nothing special I don't think. > > SzeKit Hsu > > On Jun 5, 12:51 pm, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > I believe the problem is with using the code in a shared host > > environment. The same piece of code ran fine locally on my machine > > (VWD) but failed when I uploaded it to my web host. > > > > I have not tried to reproduce it locally yet (as I do not have a web > > server set up). I would think (on paper) that a web server set up > > with medium trust should reproduce the problem? > > > > SzeKit Hsu > > > > On Jun 5, 11:26 am, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > > > > > > > > Can you instruct me on how to reproduce this locally? If not, i google > for > > > the information, but it's most certainly easier if i can try to set > this up > > > and see for myself. > > > > > Thanks > > > > > Frank Mantek > > > Google > > > > > On 6/5/07, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > > > > > I believe I am running into the same problem as laurent. The > > > > exception I am getting is "System.Security.SecurityException: > Request > > > > failed" > > > > > > The action that failed was: InheritanceDemand > > > > The type of the first permission that failed was: > > > > System.Security.PermissionSet > > > > The Zone of the assembly that failed was: MyComputer > > > > > > As far as I can tell, the exception is thrown in this call: > > > > Google.GData.Client.AtomFeedParser.Parse(Stream streamInput, > AtomFeed > > > > feed) > > > > > > SzeKit Hsu > > > > > > On Jun 4, 8:23 am, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > > > > I need a bit more information. From what i found about this > particular > > > > > error, this normally seems to be related to the zone settings of > your > > > > > application - i have no idea if you are able to set them yourself, > if > > > > you > > > > > are calling into another DLL etc... > > > > > > > Frank Mantek > > > > > Google > > > > > > > On 6/4/07, laurent <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > > Thanks for the AllowPartiallyTrustedCallers attribute! > > > > > > > > I query GCalendar in a small ASP.NET 2.0 project, unfortunatly > after > > > > > > deployed in my shared hoster, I get a SecurityException : > > > > > > "System.Security.SecurityException: Request for the permission > of type > > > > > > 'System.Security.Permissions.SecurityPermission" > > > > > > > > Any idea ? > > > > > > > > On May 25, 7:40 am, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > > > > > > A new version is released for binary download. This fixes > several > > > > bugs > > > > > > in > > > > > > > the spreadsheetservice, as well as handling > extendedProperties. > > > > > > Furthermore, > > > > > > > support for the ACL feeds is added. Finally, > > > > > > > ASP.NET Dlls are added that have the > AllowPartiallyTrustedCallers > > > > > > attribute > > > > > > > set. > > > > > > > > > From the release notes: > > > > > > > > > == 1.0.9.8 == > > > > > > > - fixed a parsing bug in SpreadsheetService > > > > > > > - fixed a bug in GDataRequestException that would prevent > > > > AppsException > > > > > > from > > > > > > > accessing the server's response. > > > > > > > - modified AppsException to comply with new > GDataRequestException > > > > > > > - fixed a bug in CalculateBaseUri, that caused a crash if the > passed > > > > in > > > > > > > parameters are all NULL. This caused composite feeds > > > > > > > to not load if there was a comment feed embedded > > > > > > > - fixed a bug in the CalendarEventEntry, it was not parsing > > > > > > > extendedProperties. They are now parsed > > > > > > > and added correctly to the ExtensionElements > > > > > > > - added ACL support. This resulted in changes in the > > > > > > > CalendarService.Querymethod - as a CalendarService > > > > > > > can now return an EventFeed or an AccessControlFeed. Added > Query > > > > > > overloads > > > > > > > to accept EventQuery or AclQuery and return the appropriate > > > > > > > Feeds > > > > > > > - added a cmd line tool to query/insert/update to a service > based on > > > > > > streams > > > > > > > - modified the Spreadsheet service to use the new scheme of > service > > > > > > > subclassing. This should fix a bundle of issues > > > > > > > with regard to entry castings. > > > > > > > - changed persistence of gd:extendedProperty to save the value > > > > > > attribute, > > > > > > > even if there is no data to persist > > > > > > > - Added an ASP.NET release (lib/ASP.NET) where the DLLs are > build > > > > with > > > > > > the > > > > > > > AllowPartiallyTrustedCallers attribute n > > > > > > > enabled. Please use with caution and refer to the readme.txtin > > > > that > > > > > > > subdirectory for more information. > > > > > > > > > This is a recommended update for all users. > > > > > > > > > Go, get it from: > > > > > > > > >http://code.google.com/p/google-gdata/ > > > > > > > > > Regards > > > > > > > > > Frank Mantek > > > > > > > Google- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
