RadzenSSRSViewer and permissions

Hi! I am working on replacing old VB applications with Radzen ones. The old VB apps contact the reportserver, which reads the ID read from the Identity (ApplicationPoolIdentity) and pulls reports just fine.

From the Radzen app, it seems to be taking the name of the Windows user currently running the program, as I'm getting the following error:

 "The permissions granted to user 'domain\myuseracct' are insufficient for performing this operation. (rsAccessDenied)"

How can I get the Radzen app to have the app pool identity be sent to the reportserver instead?

Thanks!

Hi @david.cole,

Unfortunately we are not sure how this can be done. You can check the code of the ReportController and try setting the credentials in the CreateHttpClient method (you can use the OnHttpClientHandlerCreate partial method).

httpClientHandler.Credentials = new NetworkCredential("username", "password", "domain"")

Thanks much for the info and httpClientHandler idea, I will look in that direction - looks like a great possible workaround.

I did find out more information since my initial post. For whatever reason, the test server runs the viewer application fine with the ApplicationPool I created. On the production server, with the new app pool I created to match the one in Dev, I had to change the ApplicationPool from Integrated mode to Classic. This is definitely not a Radzen issue. Your credentials idea will be great for a workaround until the underlying server issues for this are resolved... Thanks again! :slight_smile: