One more update to this issue. I think I got part of it working (not sure how, but part of it seems to be working). Here is how I can see it working. If I go to the http://www.gmodules.com/ig/creator?url=http://www.ccrane.com/gadgets/ncwx.xml to get the code to add to the webpage, it displays properly. I get the code provided by Google and add it to a test page (http:// www.ccrane.com/gadgets/test.aspx) with just our website frame surrounding it. Nothing interesting, just want to see it working.
When this page loads, I continue to see the message "The system cannot find the file specified" The source for the iframe shows as (http://www.ccrane.com/gadgets/ index.aspx? container=open&mid=1&v=817ec610393f7331fe728044932d21e&lang=all&country=ALL&view=home&up_refID=WS060900DY000000&source=http %3A%2F%2Fwww.ccrane.com%2Fgadgets%2Ftest.aspx&parent=http%3A%2F %2Fwww.ccrane.com%2Fgadgets%2Ftest.aspx&libs=core%3Acore.io) in FireFox and if I paste this in the address bar, sure enough I get an error. If I remove the parent and source values on this address however, the gadget works again. (http://www.ccrane.com/gadgets/index.aspx? container=open&mid=1&v=817ec610393f7331fe728044932d21e&lang=all&country=ALL&view=home&up_refID=WS060900DY000000&source=&parent=&libs=core %3Acore.io) I'm starting to lose my hair here, any help would be greatly appreciated. Sincerely, Edgar Diaz Assistant IT Manager C. Crane Company Inc. On Jul 21, 11:29 am, "C. Crane" <[email protected]> wrote: > String, > > Thanks for the suggestion. I am loading the JavaScript API as you > suggested. > > When the page pre init is called, this is what is done > > Dim library As String > Dim libs As String = Request.QueryString("libs") > If Not IsNothing(libs) And Not libs = "" Then > Response.Write("<!-- Begin Google Gadgets Code -->" & > vbCrLf & vbTab) > Dim googleLibs = libs.Split(",".ToCharArray()) > For Each library In googleLibs > Response.Write("<script src='http://www.google.com/ > ig/f/" & library & "'></script>" & vbCrLf & vbTab) > Next > > Response.Write("<script type='text/javascript'>" & > vbCrLf & vbTab & vbTab) > Response.Write("// Get user preferences" & vbCrLf & > vbTab & vbTab) > Response.Write("var prefs = new _IG_Prefs();" & vbCrLf > & vbTab) > Response.Write("</script>" & vbCrLf & vbTab) > Response.Write("<!-- End Google Gadgets Code -->" & > vbCrLf) > End If > > The source of the IFrame should in theory be (http://64.225.153.15/ > gadgets/index.aspx? > up_refID=WS060900DY000000&lang=en&country=us&.lang=en&.country=us&synd=ig&mid=0&ifpctok=1189217925512859470&parent=&libs=gmEgIR3lF4E/ > lib/libcore.js,iNE3XEZGB9I/lib/libsetprefs.js) which still gives me > the "The system cannot find the file specified" message. > > However, the same code on my local machine (http://192.168.1.100/ > gadgets/index.aspx? > up_refID=WS060900DY000000&lang=en&country=us&.lang=en&.country=us&synd=ig&mid=0&ifpctok=1189217925512859470&parent=&libs=gmEgIR3lF4E/ > lib/libcore.js,iNE3XEZGB9I/lib/libsetprefs.js) works just fine and > displays what it's supposed to. > > The only difference is the IP Address. > > I'm not sure what I am missing here. Any help would be greatly > appreciated. > > On Jul 7, 10:42 pm, String <[email protected]> wrote: > > > > > Hi Edgar, > > > The error message is being generated from your ASP code, so it's hard > > to diagnose it from out here. Given that it disappears when you remove > > the libs parameter, though, that's the obvious place to start. > > > What handling are your doing with that parameter in ASP? Are you > > trying to load the Gadget API JS libraries, as described > > athttp://code.google.com/apis/gadgets/docs/legacy/fundamentals.html#Libs > > (only in ASP rather than PHP)? That'd be my first guess. > > > Good luck, and post back here if I can help further. I've been > > shopping at C.Cranefor years. :^) > > > String (aka N1NFS) > > > On Jul 3, 5:19 pm, "C.Crane" <[email protected]> wrote: > > > > Good morning to all Google Gadget Gurus out there. I have been > > > working on our very first Google Gadget for the last few days and I'm > > > having trouble figuring out an issue. > > > > Our gadget (http://www.ccrane.com/gadgets/ncwx.xml) is a simple > > > advertising gadget that will randomly display two products from a list > > > of predefined products associated with a particular advertiser. All > > > the work is done in the background with ASP.NET (http://www.ccrane.com/ > > > gadgets/index.aspx?up_refID=WS060900DY000000). > > > > My gadget has a required UserPref parameter refID which will represent > > > the id of a particular advertiser. For this inital gadget this value > > > is set to WS060900DY000000. > > > > When I try to create the gadget from Google's "Add this gadget to your > > > webpage" tool > > > (http://www.gmodules.com/ig/creator?url=http://www.ccrane.com/gadgets/...) > > > I get the following error "The system > > > cannot find the file specified". Looking at the info for the iframe > > > with Firefox I see the address as (http://www.ccrane.com/gadgets/ > > > index.aspx? > > > up_refID=WS060900DY000000&lang=en&country=us&.lang=en&.country=us&synd=open > > > &mid=0&use_hc=1&ifpctok=8879020435078091327&parent=&libs=VDxLZ7xAewY/ > > > lib/libcore.js,iNE3XEZGB9I/lib/libsetprefs.js) > > > > If I remove the value of libs from the address, the page actually > > > loads properly (http://www.ccrane.com/gadgets/index.aspx? > > > up_refID=WS060900DY000000&lang=en&country=us&.lang=en&.country=us&synd=open > > > &mid=0&use_hc=1&ifpctok=8879020435078091327&parent=&libs=) > > > > Anybody has any ideas why this is? What am I doing wrong? Any help > > > would be greatly appreciated. > > > > Edgar Diaz > > > Asistant IT Manager > > > C.CraneCompany Inchttp://www.ccrane.com-Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
