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&libs=core%3Acore.io 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&libs=core%3Acore.io&foo=1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 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&libs=core%3Acore.io&foo=12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901 A quick web search makes it look like this is a known ASP issue. In http://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 -~----------~----~----~----~------~----~------~--~---
