Reporting Services 2017 Report Server: bing maps embeded in report error : the underlying connection was closed: An unexpected error occured on send.

Dejan Milic 41 Reputation points
2022-09-28T09:14:03.11+00:00

We have a report deployed on an "On-Prem" SQL Server 2017 Report Server instance.
The Bing map layer is not displaying when we call the report from the Report Server portal:

245448-image.png

However if we debug the same report in Visual Studio from the same hosts it works:

245467-image.png

We have this same report running just fine on a legacy SharePoint 2010 integrated mode instance:

245494-image.png

We looked in Report Server logs, but nothing obvious caught our intention.

It does not seems to be a httpProxy issue either:

245449-image.png

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
{count} vote

Accepted answer
  1. PN 141 Reputation points
    2022-10-05T12:08:14.003+00:00

    @Dejan Milic @AniyaTang-MSFT @Jane Fleming

    Maps began working in my reports again this morning. To be clear, the only change I have made in the past 24 hours is that I added a file share account in the report server, which should be completely unrelated to this issue.

    The maps looks a bit different. More clear? Perhaps Bing maps was going through an update.


5 additional answers

Sort by: Oldest
  1. AniyaTang-MSFT 12,321 Reputation points Microsoft Vendor
    2022-09-29T02:01:50.893+00:00

    Hi @Dejan Milic
    Can you access the report server on IE? Is the TargetServerURL you deployed correct? Did you configure a TLS connection?

    If everything is correct and you are not running SSL, you can try changing the SecureConnectionLevel in the configuration file.
    The method is as follows:

    1. Find the rsreportserver.config file, it may be in such a path: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer;
    2. Copy a backup of the file;
    3. Then open the original file, find SecureConnectionLevel, and set this value to 0;
    4. After saving, restart SSRS to check whether the file can be deployed.

    For more details, you can refer to this link: the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-ssrs-2008.
    Best regards,
    Aniya


  2. Dejan Milic 41 Reputation points
    2022-09-29T10:26:46.843+00:00

    Hi @AniyaTang-MSFT

    The reports are deployed just fine, It does not look like a server URL issue.

    The server is not running SSL

    245956-image.png

    and the SecureConnectionLevel is set to "0"

    246062-image.png

    Regards,

    Dejan

    1 person found this answer helpful.

  3. Dejan Milic 41 Reputation points
    2022-09-30T12:49:45.95+00:00

    Hi @AniyaTang-MSFT

    The settings were good in the first place, so It did not help.

    However, I'm now getting the same errors as @PN , Although I did not change anything in the settings:

    246521-image.png

    1 person found this answer helpful.

  4. Dejan Milic 41 Reputation points
    2022-10-04T06:00:52.607+00:00

    Hi @AniyaTang-MSFT

    Thank you for your feedback.

    To my limited knowledge, nothing points to the conclusion that the SSL/HTTPS connection is configured or in place on this Report Server.

    The secure channel error occurs only with Bing Map layer component of the report, all other report parts are rendered with no issues at all.

    0 comments No comments