No, i have not tried to solve that issue yet, sorry. There is an issue in the public issue list, and as you can see, still active...
I find it very hard to identify the real issue behind this whole thing. And, you did not send me your modifications, so i had no easy "let's try this one" way to verify your patch in my setup. Busy writing support for Picasa. I would not mind some help from those more in the know about CodeSecurity in .NET 2.0. What i am looking for is something like FxCop, that analyzes my security settings. The security wizard only does that for exe files, so it does not help me that much... Frank Mantek Google On 6/29/07, laurent <[EMAIL PROTECTED]> wrote: > > > You guys are rock solid! > > Any update on this ? > I installed the latest version 1.0.9.9 but still have the same issue. > > > On Jun 6, 2:12 pm, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > hmmmm - yep that is probably new. You willing to send me the code, so > that i > > can see if that fixes my issue as well etc.. > > > > Frank Mantek > > Google > > > > On 6/6/07, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Alright. I have tried something that seems to have circumvented the > > > problem. > > > > > It appears that the problem is caused by the fact that > > > DecodingTextReader being a subclass of XmlTextReader. There is an > > > InheritanceDemand on XmlTextReader that Full Trust is required. I > > > guess maybe this is new in .Net 2.0? (http://msdn2.microsoft.com/en- > > > us/library/system.xml.xmltextreader.aspx: Notes to Inheritors: This > > > class has an inheritance demand. Full trust is required to inherit > > > from XmlTextReader.) > > > > > I ended up rewriting DecodingTextReader by wrapping instead of > > > inheriting XmlTextReader. That seems to be working. > > > > > Not sure about the ramification of the change, or if there is a more > > > elegant way to do this. If so, I will be very interested. But for > > > now, that seems to solve my problem. > > > > > On Jun 6, 11:35 am, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > > > Spend a bit of time today. The issue is that the website calls into > the > > > > Google.Calendar.Dll. That DLL calls into Google.Client.Dll. That Dll > has > > > a > > > > delegate set to call back into the Calendar Dll during parsing. Now > that > > > > delegate fails, with "that dll does not allow partially trusted > > > callers". > > > > > > Makes currently no sense to me... I might need to sleep about it. If > > > anyone > > > > has a good idea, feel free to send it :) > > > > > > Frank Mantek > > > > Google > > > > > > On 6/6/07, Frank Mantek <[EMAIL PROTECTED]> wrote: > > > > > > > Thanks a lot. I am able to reproduce this issue now easily, and, > > > hopefully > > > > > can figure out how to make this work shortly. > > > > > > > Frank Mantek > > > > > Google > > > > > > > On 6/6/07, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > > > > > > > Issue submitted. Number 57. > > > > > > > > SzeKit Hsu > > > > > > > > On Jun 6, 8:01 am, SzeKit Hsu <[EMAIL PROTECTED]> wrote: > > > > > > > I am using VWD, so I guess VS2005. > > > > > > > > > I will try to come up with something for the issue list. > > > > > > > > > SzeKit Hsu > > > > > > > > > On Jun 6, 7:41 am, "Frank Mantek" <[EMAIL PROTECTED]> wrote: > > > > > > > > > > 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.configto > > > > > > 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.0project, > > > > > > 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 > > > > ... > > > > read more >>- 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 -~----------~----~----~----~------~----~------~--~---
