SSRS Proxy with drill-through

Hi Radzen team,

I’m having an issue with SSRS drill-through reports after integrating SSRS into Radzen through a proxy.

In native SSRS, the drill-through URL works correctly and redirects to the target report without any issue. After the integration in Radzen, the first page can be displayed without any issue, but clicking the drill-through link does not redirect to the target report anymore.

I just used the report controller from this demo and set Useproxy as true.

Any suggestions would be appreciated. Thank you.

Hi @blu,

Replace the if (currentReqest.Method == "POST") block in ForwardRequest with this:

if (currentReqest.Method == "POST")
{
    using (var stream = new MemoryStream())
    {
        await currentReqest.Body.CopyToAsync(stream);
        proxyRequestMessage.Content = new ByteArrayContent(stream.ToArray());

        if (!string.IsNullOrEmpty(currentReqest.ContentType))
        {
            proxyRequestMessage.Content.Headers.Remove("Content-Type");
            proxyRequestMessage.Content.Headers.TryAddWithoutValidation("Content-Type", currentReqest.ContentType);
        }
    }
}

And let me know how it goes!

Hi @enchev

Thank you for your prompt reply. Unfortunately, it still threw the same error.

error.zip (128.0 KB)

The SSRS report is very simple and only contains a link to another report. The error occurred when I clicked the link.

I’m attaching the whole ReportController - you need to change the namespace. Please try it and let me know how it goes.

ReportController.zip (2.1 KB)

@enchev

This controller works perfect. Thank you so much for your help.