BingSearch crash

2 posts, 0 answers
  1. Martijn
    Martijn avatar
    2 posts
    Member since:
    Aug 2010

    Posted 07 Oct 2010 Link to this post


    I have a list containing a lot of strings(adresses).
    For each adresses in the list I made a new BingSearch Request and send it to Bing.

    While the searchCompleted events are firing at runtime I get the  just-in-time error included at a random moment

    Do you know a way to fix it or a workaround?

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 11 Oct 2010 Link to this post

    Hi Martijn,

    The current version of RadMap (2010.2 924) contains the fix for unhandled exceptions which were raised for Bing services. Could you, please, check the version of DLL you use?

    Using this version you can check exceptions from Bing service via the Error property. The short sample code is below.

    private void InitSearchProvider()
        this.searchProvider = new BingSearchProvider()
            ApplicationId = this.bingApplicationId,
            MapControl = this.radMap

    this.searchProvider.SearchCompleted += new EventHandler<SearchCompletedEventArgs>(searchProvider_SearchCompleted);

    void searchProvider_SearchCompleted(object sender, SearchCompletedEventArgs e)
        if (e.Response.Error != null)
            // Bing Search error has been occured
            // error message -- e.Response.Error.Message
            // Search response complete

    Best wishes,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top