URI Error?

Discussion created by mborr on Dec 6, 2011
Latest reply on Apr 9, 2012 by crackernutter
I want to run a query based on a drivetime gp polygon in my own app, similar to the "Select features within a two minute drive time" Sample. However when I do so, I get this error in firebug:

Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5 Line: 14"]

If I copy and paste the entire code from the sample into a local file and run it, I get the same error.

Anyone run into this error?