none
Bing search functionality sporadically throws message "There were no results for your search [town name]. please check your spelling and try again" RRS feed

  • Question

  • Hello,

    I'm having the following message pop up when I search cities/towns (correctly spelled) in an application that uses Bing Maps:

    "There were no results for your search [town name]. please check your spelling and try again" 

    It seems to happen most often with towns or cities with names composed of two or more words. It happens sporadically, so sometimes Bing Maps will find the location on the first try, whereas other times the same location takes 2 or more attempts to successfully find the site. The application in use does not alter the Bing Search functionality in any way, as far as I know.

    Do you know why this happens or how it might be resolved?

    Thanks!


    Thursday, April 23, 2015 3:23 PM

Answers

  • It's likely that the app you are referring to is using a Basic or Trial key to access Bing Maps and is being rate limited. When these types of accounts make a large number of requests in a short period of time or when there is a lot of load on the servers, these accounts are rate limited to ensure they do not cause performance issues for licensed users who are using Enterprise keys. If you look at the header of the response you will likely see a flag that indicates that the request was rate limited. This is documented in a few places:

    https://msdn.microsoft.com/en-us/library/ff701703.aspx

    https://msdn.microsoft.com/en-us/library/dn894107.aspx?f=255&MSPPError=-2147217396 


    http://rbrundritt.wordpress.com

    Thursday, April 23, 2015 7:06 PM
  • It's very possible that the key you are using is a basic key which would cause this issue regardless of the status of your license. To check this log into the Bing Maps portal: https://www.bingmapsportal.com/

    Then click on My Account -> Create or View keys. You will see all the keys that your account has. If there are more than one, match up the key you are using in your production application with the one in the list. Under the Key Type property if it says basic, then that's where the issue is. If there is an enterprise key then use that in your application, otherwise create an enterprise key and use that. If you can't create an enterprise key then email the Bing Maps licensing team at maplic@microsoft.com to sort out your account, verify you are licensed and have your account elevated to an Enterprise account.


    http://rbrundritt.wordpress.com

    Monday, April 27, 2015 4:20 PM

All replies

  • It's likely that the app you are referring to is using a Basic or Trial key to access Bing Maps and is being rate limited. When these types of accounts make a large number of requests in a short period of time or when there is a lot of load on the servers, these accounts are rate limited to ensure they do not cause performance issues for licensed users who are using Enterprise keys. If you look at the header of the response you will likely see a flag that indicates that the request was rate limited. This is documented in a few places:

    https://msdn.microsoft.com/en-us/library/ff701703.aspx

    https://msdn.microsoft.com/en-us/library/dn894107.aspx?f=255&MSPPError=-2147217396 


    http://rbrundritt.wordpress.com

    Thursday, April 23, 2015 7:06 PM
  • Hello,

    Thanks for this answer! I am looking into whether the status of the Bing Maps license was mistakenly altered or not renewed. I appreciate your help!

    Monday, April 27, 2015 2:44 PM
  • It's very possible that the key you are using is a basic key which would cause this issue regardless of the status of your license. To check this log into the Bing Maps portal: https://www.bingmapsportal.com/

    Then click on My Account -> Create or View keys. You will see all the keys that your account has. If there are more than one, match up the key you are using in your production application with the one in the list. Under the Key Type property if it says basic, then that's where the issue is. If there is an enterprise key then use that in your application, otherwise create an enterprise key and use that. If you can't create an enterprise key then email the Bing Maps licensing team at maplic@microsoft.com to sort out your account, verify you are licensed and have your account elevated to an Enterprise account.


    http://rbrundritt.wordpress.com

    Monday, April 27, 2015 4:20 PM