none
What to do about the Msn.Drawing.Exception in conjunction with Bing Ajax map?

    Întrebare

  • Hi

    I have for some months been developing an application where I use Bing Ajax map.

    Now suddenly all my Bing maps in my application goes down with the exception:

    Microsoft JScript runtime error: Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.

    It's quite puzzling too me that I now suddenly get this exception, because I haven't changed anything in the code.

    I am using the same IE browser as normal, I think it's IE 9 or something.

    Any idea what to do?


    rune007



    9 martie 2012 17:55

Răspunsuri

  • We're getting the same error, using IE9.  Chrome and Firefox are unaffected.  Running IE9 in IE7 browser mode does work.
    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    9 martie 2012 18:09
  • For now, try to get them to use compatibility mode, change your site to use compatibility mode by adding this tag

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

    or have them use chrome or firefox.

    Also, custom tile layers are not working in firefox or IE 9


    Sasha dos Santos Software Engineer 3M Electronic Monitoring http://www.3M.com/electronicmonitoring

    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    9 martie 2012 22:29
  • This issue should be resolved now.

    Thanks,
    Keith Kinnan, Bing Maps

    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    10 martie 2012 09:15
    Moderator
  • Ah sorry!

    I think it was because I didn't refresh some cache that 6.2 went down. Now I refresh the cache and 6.2 does not go down. Sorry.


    rune007

    • Marcat ca răspuns de rune007 10 martie 2012 11:19
    10 martie 2012 11:18
  • Thank you for the feedback. We are sorry for any inconvenience that may have been caused by this issue with the latest update. This issue was reported and treated as a live site incident with the highest priority.  A fix was rolled out later that day to correct this issue.  The Bing Maps APIs are a dynamic API that are updated often with performance improvements, new browser support, and new features. We appreciate your feedback on release communication and processes and are looking at ways to improve this in the future.

    Thanks,

    Keith Kinnan

    Bing Maps Development

    13 martie 2012 17:57
    Moderator

Toate mesajele

  • We're getting the same error, using IE9.  Chrome and Firefox are unaffected.  Running IE9 in IE7 browser mode does work.
    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    9 martie 2012 18:09
  • Thank you for reporting this.  This is currently an issue with v6.3 that we are fixing. We are working on getting a fix out ASAP.

    Thanks,

    Keith Kinnan

    Bing Maps

    9 martie 2012 19:04
    Moderator
  • I am also getting the same error today with a Bing heat map, I've been using for a month (inside one of my own applications). It works with Chrome, Opera and Safari but it fails on IE9, IE10 preview and Firefox
    9 martie 2012 19:33
  • The only solution I have found is to emulate IE7.  We are considering doing this because the problem is affecting our production sites.  It would be nice to have a fix soon to avoid doing this though.


    -Steve

    9 martie 2012 19:39
  • I just left a voicemail with my customer service rep + email tech support (I'm an enterprise customer). Question: was anyone warned of this update beforehand? I got no email or notification that the API had changed... I never know until I see something change

    Sasha dos Santos Software Engineer 3M Electronic Monitoring http://www.3M.com/electronicmonitoring

    9 martie 2012 20:47
  • I hope this is resolved soon. This is severely impacting our website for IE 9 users.
    9 martie 2012 20:57
  • For now, try to get them to use compatibility mode, change your site to use compatibility mode by adding this tag

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

    or have them use chrome or firefox.

    Also, custom tile layers are not working in firefox or IE 9


    Sasha dos Santos Software Engineer 3M Electronic Monitoring http://www.3M.com/electronicmonitoring

    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    9 martie 2012 22:29
  • This appears to have been fixed.


    -Steve

    10 martie 2012 00:28
  • This issue should be resolved now.

    Thanks,
    Keith Kinnan, Bing Maps

    • Marcat ca răspuns de rune007 10 martie 2012 11:18
    10 martie 2012 09:15
    Moderator
  • Thank you Keith Kinnan

    My maps which use version 6.3 now works.

    http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3

    But the maps which use version 6.2 still goes down with the above exception: "Msn.Drawing.Exception"

    http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2

    Of course it's perhaps no big deal to go through my code and change 6.2 to 6.3, properly should have done that before anyway?


    rune007

    10 martie 2012 11:13
  • Ah sorry!

    I think it was because I didn't refresh some cache that 6.2 went down. Now I refresh the cache and 6.2 does not go down. Sorry.


    rune007

    • Marcat ca răspuns de rune007 10 martie 2012 11:19
    10 martie 2012 11:18
  • Note that V6.1 and 6.2 just redirect to v6.3 in the backend. There is no difference between the different versions. This was changed several years ago.

    http://rbrundritt.wordpress.com

    10 martie 2012 11:33
    Proprietar
  • Is there a way or place to see upcoming updates or releases for bing maps so we can try and catch issues before they reach production?
    11 martie 2012 00:49
  • @msmitkin: yes, this forum. You have to visit it daily looking for a post from Keith Kinnan saying that they plan on rolling out a release "sometime soon". Then keep refreshing your apps every day, a few time per day, GUESSING at whether the update has reached your neck of the woods (eg there may be CDN propagation delays, browser caches not clearing, etc), and hoping that stuff doesn't start breaking. If a week goes by after the announcement (i.e. to the following Monday) and your app still works, then hooray you made it through a bing maps update.

    11 martie 2012 02:28
  • I've already contacted my customer service rep and suggest any enterprise customers to write in demanding the following:

    1) Notification by e-mail that a change will occur, along with the date in which this change is scheduled to take place

    2) An explanation of what will change with the next release

    3) Ample time to test applications vs. the development url which will have the new code in place a reasonable amount of time beforehand

    I would follow these rules for code in use by the company that I work for and certainly should not expect less from Microsoft. These 'ninja' updates are simply unacceptable.


    Sasha dos Santos Software Engineer 3M Electronic Monitoring http://www.3M.com/electronicmonitoring

    12 martie 2012 13:23
  • Thank you for the feedback. We are sorry for any inconvenience that may have been caused by this issue with the latest update. This issue was reported and treated as a live site incident with the highest priority.  A fix was rolled out later that day to correct this issue.  The Bing Maps APIs are a dynamic API that are updated often with performance improvements, new browser support, and new features. We appreciate your feedback on release communication and processes and are looking at ways to improve this in the future.

    Thanks,

    Keith Kinnan

    Bing Maps Development

    13 martie 2012 17:57
    Moderator