This project is read-only.

DinnerNow.Restaurants.Kiosk javascript error

Nov 14, 2008 at 3:56 AM
Today, when I try to load the DinnerNow.Restaurants.Kiosk, it popup the internet explore error say some javascript error. Then I try to change VEMap.htm in the DinnerNow.Restaurants.Kiosk.Controls.VEMapControl project. Change the "http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"  to "http://dev.virtualearth.net/mapcontrol/v5/mapcontrol.js" and it works! I'm using WinXP and not sure if under VISTA, it can working fine. If you have the same issue, try this way. Maybe help.

Jacky
Feb 27, 2009 at 6:02 AM
You saved my day. Really. Thanks.
Sep 1, 2009 at 1:02 PM

That fix doesn't work with Vista. The map control that link refers to is non-existant any more. If your Kiosk app doesn't display the map, you have to open the project (.sln) file for the Kiosk app and in the VEMap.htm file change the old link for the map control from "http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js" to "http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2". This way you get a working map. I'm having problems with the gadgets, I can't get the gadget to display the map, but I think I'll get around it soon enough. I haven't tried versions 3.0 and 3.1 yet, maybe these things are fixed in the newer versions.