Select to view content in your preferred language

Bing Map  does not show up

1541
10
10-15-2010 01:52 PM
DeminHu
Deactivated User
Hi,

I created a key from ArcGIS server manager ( 10),  used the key for  bing map layer , but Bing Map  stayed blank, I used the Bing Map account center, created another key, it didn't work either.

I tried to run the ESRI Bing Map samples with these keys, it didn't work either. Never get the Bing Map out.

Thanks in advance for  any help on this problem .
0 Kudos
10 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
DeminHu
Deactivated User
Hi,

Thanks, tried all of them you mentioned, I never got the Bing Map displayed.

For ESRI Silverlight API samples, only a few times, I got the Bing Map sample displayed, most time, the samples just stayed blank, I  changed the browser setting, delete all browser history, still could not  make Bing Map show up on ESRI samples. Certainly, never displayed on my own  test applications.

This make me wonder that if it is good idea to use Bing Map for ArcGIS Server silverlight API right now.

Again, thanks for your reply.
0 Kudos
ChristopherHill
Deactivated User
0 Kudos
DeminHu
Deactivated User
Hi,

A few times, most time, it just blank.

Actually, this morning, it showed up, I got the  Bing map showed up on my test application, then I left for a meeting, when I came back, I could not get the Bing map show up again, and the ESRI samples ( the link on your post) just  blank. Even I didn't change anything.

Thanks again.
0 Kudos
DeminHu
Deactivated User
Hi,

I post the error message here, hopefully somebody could help me solve the problem.

Thanks in advance.

// error message:
Please see the inner exception for more details.   at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)\n   at ESRI.ArcGIS.Client.Layer.Initialize()\n   at ESRI.ArcGIS.Client.Bing.TileLayer.imageryService_GetImageryMetadataCompleted(Object sender, GetImageryMetadataCompletedEventArgs e)\n   at ESRI.ArcGIS.Client.Bing.ImageryService.ImageryServiceClient.OnGetImageryMetadataCompleted(Object state)");
0 Kudos
dotMorten_esri
Esri Notable Contributor
Handle the bing layers InitializeFailed event in your code and look what the myBingLayer.InitializationFailure property is telling you.
0 Kudos
DeminHu
Deactivated User
Hi,

First, thanks to all kind help.

The detailed error message is as the following, when the bing map no show up in my test application, the ESRI Bing samples are blanks too from my machine. I have several machines, all of them are the  same.

//---------------------------------
Microsoft JScript runtime error: Unhandled Error in Silverlight Application An error occurred while trying to make a request to URI 'http://dev.virtualearth.net/webservices/v1/imageryservice/imageryservice.svc'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.   at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)
   at ESRI.ArcGIS.Client.Layer.Initialize()
   at ESRI.ArcGIS.Client.Bing.TileLayer.imageryService_GetImageryMetadataCompleted(Object sender, GetImageryMetadataCompletedEventArgs e)
   at ESRI.ArcGIS.Client.Bing.ImageryService.ImageryServiceClient.OnGetImageryMetadataCompleted(Object state)
0 Kudos
karenvolarich
Occasional Contributor
You need to add the bing uri/url to your proxy page.
0 Kudos
DeminHu
Deactivated User
Thanks for the clue.

Unfortunately, for bing layer, there is no ProxyURL property.
0 Kudos