Operation aborted in IE when loading your map page?

This one catches out every developer when they start coding in JavaScript. The issue is that you can’t change the DOM in IE before it has fully loaded. Usually everything is fine locally and in Firefox but when you deploy you get this:

In the case of Virtual Earth it heavily changes the DOM, turning a simple DIV into the fully AJAX map control. What has happened is you have called map.LoadMap() while the page is loading, you need to listen for the body onload event, there are a couple of ways to do this:

The VE SDK simple attached in the body tag itself:

<body onload="GetMap();">

Now this is great in examples but rarely can you do this do to Master pages, CMS or other issues. Instead you can do this in code: