ilich / MvcReportViewer

ASP.NET MVC Html Helpers for ReportViewer Control.
MIT License
280 stars 131 forks source link

Defaulting windows authentication for username and password #141

Closed jfakey closed 8 years ago

jfakey commented 8 years ago

Is there a way to pass the default windows authentication into this in the web.config file

<MvcReportViewer reportServerUrl="http://localhost/ReportServer_SQLEXPRESS" username="" password="" ....

or here?

Thanks in advance

ilich commented 8 years ago

Yes, you can. If you set username and password to be an empty string, Report Viewer Web Control will use you App Pool username to authenticate on SSRS.

ilich commented 8 years ago

I setup my development machine with username="" and password="" to launch sample application on IIS Express.

jfakey commented 8 years ago

Thanks, that is what I thought, did not want to take the time to install and configure everything if not the case.

Great work on this, thanks again

On Mon, Dec 14, 2015 at 2:51 PM, Ilya Verbitskiy notifications@github.com wrote:

I setup my development machine with username="" and password="" to launch sample application on IIS Express.

— Reply to this email directly or view it on GitHub https://github.com/ilich/MvcReportViewer/issues/141#issuecomment-164555767 .