none
Credentials are invalid RRS feed

  • Question

  • Trying to create my first Bing maps store app following the directions and samples and I keep getting a banner on my map stating:  "The specified credentials are invalid.....".    I have a Bing maps account, and created a key for that is "Trial / Windows Metro style app", but the banner still shows up.  I contacted the account center but they suggested I post my problem here.  

    Appreciate any help you can provide.

    Friday, October 5, 2012 2:19 AM

Answers

  • Answered:   I created a new Microsoft account, and then a new Bing maps API account in order to generate a new Trial / Windows Metro style app key.   The new key works without giving me the invalid certificate error. 

    • Marked as answer by MapBum Friday, October 5, 2012 6:48 PM
    Friday, October 5, 2012 6:47 PM

All replies

  • Try creating a Basic - Windows Store App key. Ensure you set the key property on the map correctly: http://msdn.microsoft.com/en-us/library/hh846489.aspx

    http://rbrundritt.wordpress.com

    Friday, October 5, 2012 7:30 AM
  • Sorry my first post was so short - thought there might be a simple "do this" or "check that" answer out there. 

    Here are the steps I have taken up to this point.

    System:  Windows 8 Enterprise x64 RTM running as a virtual machine in VMWare Fusion (2 processor, 4GB)

    Visual Studio Ultimate 2012 (version 11.0.50727.1 RTMREL)

    I had the Beta RTM SDK for Bing Maps and this issue was happening then as well, so I was hoping the latest release would have solved it.

    Followed the steps in these posts:

           Getting Started:  http://msdn.microsoft.com/en-us/library/hh846498.aspx

           Create a Windows Store app: http://msdn.microsoft.com/en-us/library/hh846489.aspx

           Use Bing Maps in your Windows 8 XAML applications: http://timheuer.com/blog/archive/2012/03/06/bing-maps-for-winrt-xaml.aspx

           and everything else in the "Essential Information (read before posting)" post.

    My project is just the very simple single map control on a page, but I have also tried using the various code samples as well.   The map control is working fine so I know it cannot be a network/connectivity issue.

    The recommendation from the account center was to create a new account and then a new key, but I find that a bit of a cop out for trying to figure out what is wrong.

    Thanks again for any help that can be provided.

    Friday, October 5, 2012 3:45 PM
  • Answered:   I created a new Microsoft account, and then a new Bing maps API account in order to generate a new Trial / Windows Metro style app key.   The new key works without giving me the invalid certificate error. 

    • Marked as answer by MapBum Friday, October 5, 2012 6:48 PM
    Friday, October 5, 2012 6:47 PM