Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

App requests login when exporting a report to pdf

$
0
0

Hi all, 

I have a simple web app which I created using VS2012 asp.net Web Forms. I added a ssrs report which is showing correctly when requested. However, when I try to export this report to pdf, a login is requested. 

What I supposed was that some resource was prohibited, so I commented out this in my web config and exporting to pdf executed normally, without asking the user for a login: 

<system.web><authorization><deny users="*" /></authorization></system.web>

Prior to above statements, I disallow default.aspx to unauthenticated users, so users must login when opening the web app. 

When I commented out above statements in web.config, I could get the report and export to pdf also (without having to do a login). If I uncomment above statements, exporting to pdf requieres login. So, my question is: 

What resource is asp.net protecting so users have to login when trying to export to pdf??? Do I have to issue a: 

<allow users="*"> (or even <allow users="?">) 

to some resource, so users can export to pdf without having to login? 

Any help is very welcomed ... thanks and bye ... 


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>