String, Thank you for the quick reply, now that you mention it, I see why I have this problem. In IIS there is a tool to limit the length of the URL - URLScan (this is done to limit SQL injections). I think I do have it limited to something insanely short. I will see if I can rewrite the URL on the fly taking out stuff that I don't need or use. My machine does not have this tool installed as I am not on a public network and I will not face those SQL injections.
Thanks again, and I'll post what I do if I am able to make this work. On Jul 22, 8:01 am, String <[email protected]> wrote: > On Jul 22, 1:00 am, "C. Crane" <[email protected]> wrote: > > > If I remove the parent and source values on this address > > however, the gadget works again. > > Hi Edgar, > > Thanks for the detailed report. It was this last part that put me on > the track of the real problem. Looks like it's an ASP issue with the > length of the URL. Try the following: > > First, here's the minimal URL for your gadget, and it works > fine.http://www.ccrane.com/gadgets/index.aspx?up_refID=WS060900DY000000&li... > > Here's another URL, where the the only thing I've done is add a > nonsense parameter to increase the length of the URL. You'll have to > paste this URL back together, the group will linebreak it. But it > still works > fine.http://www.ccrane.com/gadgets/index.aspx?up_refID=WS060900DY000000&li... > > Now here's a third one, much like that last, but one character longer. > And (for me at least), it > fails.http://www.ccrane.com/gadgets/index.aspx?up_refID=WS060900DY000000&li... > > A quick web search makes it look like this is a known ASP issue. > Inhttp://forums.iis.net/t/1105360.aspx, "Anil Ruia, Senior Software > Design Engineer, IIS Core Server" says "The .Net Framework has a > restriction of MAX_PATH (260) characters on physical path and so > asp.net has a similar restriction on urls - there is no way to get > around this restriction." Interestingly, my test URL is failing at a > shorter length - 192 characters - but it looks like the same issue. > > What's the solution? I don't know. AFAIK, there's no way to get the > Gadgets API to send fewer parameters. If you were using Apache, I'd > suggest rewriting the URL to discard the parms you don't care about. > But given you're using ASP, I'm guessing you're on IIS, and rewriting > is a lot harder there. Perhaps someone else with more ASP experience > can chime in. You said it works on your local machine? What's > different about its ASP setup? > > At least you have an idea of what the problem is now. > > String --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
