none
Developer account username and password RRS feed

  • Question

  • Hello,
    
    I'm a developer for a company who already has a website using Bing Maps or it may be MapPoint.  
    
    We inherited the site from a former partner. The developer or map account was in their name.  Since we inherited it the maps stopped working.  
    
    The common service URL (MapCommonServiceURL = http://common.virtualearth.net/find-30/common.asmx) 
    And/or 
    Virtual Earth URL (VirtualEarthURL = http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1) seem to be working because the main map loads.
    
    I have a feeling it's  just the map key and username password.  
    
    I have followed the instructions on created a live account and then associating our website with the account but I don't get a username/password.  
    Just a key.  My live account credentials  don't  work.  What do I need to do?
    
    Here's a snippet of code.  Any help you can provide will help. 
    
    commonService.Url = MapCommonServiceUrl;
    
    commonService.Credentials = new System.Net.NetworkCredential(MapCredentialsUsername, MapCredentialsPassword);
    commonService.PreAuthenticate = true;
    
    // Create the TokenSpecification object to pass to GetClientToken.
    net.mappoint.staging.TokenSpecification tokenSpec = new net.mappoint.staging.TokenSpecification();
    
    // Use the Page object to retrieve the end-client's IPAddress.
    tokenSpec.ClientIPAddress = Page.Request.UserHostAddress;
    
    // The maximum allowable token duration is 480 minutes (8 hours).
    // The minimum allowable duration is 15 minutes.
    tokenSpec.TokenValidityDurationMinutes = int.Parse(MapTokenValidityDuration);
    
    // Now get a token from the Virtual Earth Platform Token service.
    clienttoken = commonService.GetClientToken(tokenSpec);
    Session["MapToken"] = clienttoken;
    


    Thursday, July 12, 2012 7:02 PM

Answers

  • Actually the issue is that it looks like you are using MapPoint which was retired in January. This retirement was announced two years ago and all customers were contacted to inform them of this retirement. The documentation for MapPoint isn't even online anymore as this service has been off for several months.

    The Virtual Earth URL your application points to is still valid although I would also recommend upgrading this to the latest version of Bing Maps as the version you are using is very outdated.


    http://rbrundritt.wordpress.com

    Friday, July 13, 2012 7:41 AM