locked
Bing Maps V8 Upgrade RRS feed

  • Question

  • Hello Folks,

    We have an MVC 5 web app. The application generates reports using .rdlc files as templates. The .rdlc file has a maps section.

    After Bing Maps V8 upgrade we have not been able to generate the map. Rather I get an error 401 unauthorized on the report where map is supposed to be displayed. 

    I used fiddler and captured what is going on: Below is the request/response:-

    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetImageryMetadata xmlns="http://dev.virtualearth.net/webservices/v1/imagery/contracts"><request><Credentials xmlns="http://dev.virtualearth.net/webservices/v1/common"><ApplicationId>AuDqG7quAy1xlMy83-A6onZqBofdeIy8rQrNkEe69m-TePgQhUg-StGvVTWxVg79</ApplicationId><Token xsi:nil="true" /></Credentials><Culture xsi:nil="true" xmlns="http://dev.virtualearth.net/webservices/v1/common" /><ExecutionOptions xsi:nil="true" xmlns="http://dev.virtualearth.net/webservices/v1/common" /><UserProfile xsi:nil="true" xmlns="http://dev.virtualearth.net/webservices/v1/common" /><Options xmlns="http://dev.virtualearth.net/webservices/v1/imagery"><Heading xsi:nil="true" /><Location xsi:nil="true" /><ReturnImageryProviders>true</ReturnImageryProviders></Options><Style xmlns="http://dev.virtualearth.net/webservices/v1/imagery">Road</Style></request></GetImageryMetadata></soap:Body></soap:Envelope>

    HTTP/1.1 401 Unauthorized
    Cache-Control: private
    Server: Microsoft-IIS/10.0
    X-BM-Srv: CH1AE85216
    X-BM-TraceID: 50280f9ae9ae4dde888e222b6169e83e
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    X-Powered-By: ARR/3.0
    X-Powered-By: ASP.NET
    Date: Thu, 15 Mar 2018 22:25:29 GMT
    Content-Length: 0
    Keep-Alive: 60
    Via: HTTP/1.1 proxy10407

    Can anyone please suggest what is going on ?


    Sai Abhiram Bandhakavi

    Thursday, March 15, 2018 10:37 PM

Answers