Problem displaying Bing map

Jun 27, 2011 at 2:00 PM

I am trying to create a VeTileSource but I get an exception. When I call:

var tielSource= new DeepEarth.Client.Services.Bing.VeTileSource(bingConfig.ApplicationId, mode);

I get:

System.InvalidOperationException: Could not find default endpoint element that references contract 'VEImageryService.IImageryService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.

When this line is reached in VeTileSource

var imageryService = new ImageryServiceClient();

What do I need to do?

Thanks

Jul 11, 2011 at 8:24 PM

Any idea?