开发者

Silverlight Bing Map control does not render when deployed

The SL app works just fine rendering all the pushpins only when executed thru VS2010. When I deploy the app to a local 开发者_如何学JAVAweb server, the Map comes up but no data is rendered. Any ideas?


Is your silverlight application connecting to a localhost web service for the data? Have you used Fiddler to verify that your web service calls are going to the production server? This setting is in your ServiceReferences.ClientConfig file in your Silverlight project. You can also unzip your xap to verify the configuration.


Derek, yes. I have a DEV key for the map. Then I tried changing the Key type but that did not work.

Andy, yes I did use Fiddler but did not tell me anything :)

The SL app within the SLN connects to the WS as a project ref. When I deployed locally, I did deploy the SL and the WS. The WS works just fine locally (localhost). After I deployed the SL app, I had to change URL in the Service Ref file. I initially changed it to the localhost location and that is when I posted the question originally.

Then, I changed the URL to the Hosted version of the WS and it now works. So the fact that works is good; but still wondering why the SL app pointing to the working version of the WS (localhost) does not work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜