Select to view content in your preferred language

Bin Maps Key

1053
5
05-17-2010 10:15 PM
xariaD
by
Occasional Contributor
Getting error while cretaing points.
Credentials are either invalid or unspecified.

I have checked my credentials with bing maps and I am authorised to use a staging server.
What should I look for?
0 Kudos
5 Replies
dotMorten_esri
Esri Notable Contributor
The staging servers has been deprecated by Microsoft, including their token service. The good news is that it has gotten a lot simpler now. Instead, go to www.bingmapsportal.com sign up, log in and generate a token/app id. This token doesn't expire.
Now all you need to do is set the token property on the layer:
<bing:TileLayer Token="[your token goes here]" />

You do not need to do anything on the server to generate a token. Also note that staging server is not supported with these new tokens
0 Kudos
LanceCrumbliss
Frequent Contributor
The staging servers has been deprecated by Microsoft, including their token service. The good news is that it has gotten a lot simpler now. Instead, go to www.bingmapsportal.com sign up, log in and generate a token/app id. This token doesn't expire.
Now all you need to do is set the token property on the layer:
<bing:TileLayer Token="[your token goes here]" />

You do not need to do anything on the server to generate a token. Also note that staging server is not supported with these new tokens


sorry to dig up this old thread, but using this method, what are the terms?  do we need a license for Bing Maps to do this?  yes, this would be on a commercial site.  i've yet to find a definitive answer to this.
0 Kudos
dotMorten_esri
Esri Notable Contributor
At the front of the bing maps portal it says:
For information or inquires about pricing, licensing or volume licensing, contact:
maplic@microsoft.com.

Also if you go to the bing maps website and click licensing you can find the following:
http://www.microsoft.com/maps/product/licensing.aspx
0 Kudos
LanceCrumbliss
Frequent Contributor
At the front of the bing maps portal it says: 
For information or inquires about pricing, licensing or volume licensing, contact:
maplic@microsoft.com .
  
Also if you go to the bing maps website and click licensing you can find the following: 
http://www.microsoft.com/maps/product/licensing.aspx


😮 funny...the MS rep i spoke to yesterday about this directed me to ESRI since i was accessing Bing Maps via the ESRI Silverlight API Bing Library. that's why i posted here.

in any case, the second link you posted is the answer i was looking for. i wonder why the MS rep didn't just point me in that direction.

as always morten, you're the man.

lance
0 Kudos
dotMorten_esri
Esri Notable Contributor
I"d rather not get in trouble by suggesting anything licensing related (the only rules I know are the ones governing code :-). However I think you can call your ESRI Sales Rep and work something out. It might actually be cheaper through ESRI.
0 Kudos