SSRS Report Viewer windows forms - The request failed with an empty response

SERIOLI, MARCO (MSTI) 0 Reputation points
2024-05-10T13:16:20.6633333+00:00

Dear all,

we use the following component in our Windows Form (.net 4.7.2 application): Microsoft.ReportingServices.ReportViewerControl.Winforms 150.1620.0

Since we migrated our server on a new domain, we are getting sometimes the following execption in ReportViewer:

The request failed with an empty response

I found the problem is regarding our firewall that sometimes performs a 307 Temporary redirect. Following the flow with chrome here what happens:

1)Request is made

User's image

2)Redirect to nmlauth.html page, which the push through the web service.

SSRS Report viewer component probably doesn't support this scenario. It expects to have some data in the response, while it has a redirect.

This can be easily unlocked, and it works for some hours: if you open a browser an open an address, the firewall does his stuff and next requests are fine, for a while. Probably the firewall keeps a cache of the requests and let the Report component go through without any redirection.

Is it possible to ask for a fix in Report Viewer, to handle this king of redirect in a proper way?

Many thanks for your support

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
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,818 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 33,386 Reputation points
    2024-05-11T01:49:53.1666667+00:00

    Hi @SERIOLI, MARCO (MSTI),

    For Suggestions/Other Ideas: Tell us how this impacts your business operations and how what you're asking for will enable/unblock your scenario. Be as descriptive as possible!

    If your idea has been voted by several users, the product team will consider add the feature.

    Provide product feedback

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.