Advertisement

using virtual earth 4 and asp.net ajax

i recently hit a weird snag when i went to change a sample application from using version 3 to version 4.

with doing nothing at all but changing the "v3" text in the virtual earth control reference to "v4" i suddenly got this error message:

"Sys.InvalidOperationException: Object Microsoft already exists and is not a namespace.”

my VE control reference was in my <head> tag, and as soon as I moved it within the body tag, the error went away and all is well.  so there you have it -- if you are getting this error of course :-)

  1. 3/27/2007 11:37 AM | # re: using virtual earth 4 and asp.net ajax
    If you are interested in using Microsoft Virtual Earth from within ASP.NET, then I encourage you to check out the Open Source ASP.NET AJAX Virtual Earth Server Control I've been working on over at CodePlex. http://codeplex.com/PietschSoftVE3

 
Please add 7 and 6 and type the answer here:
First time here? You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! (hide this)