Re: ReportViewer Control Permission
- From: "AG" <NOSPAMa-giam@xxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Sep 2007 21:35:50 -0400
Thanks for the response Donn.
I think you are referring to a Crystal Reports object.
I am working with SQL Server 2005 Reporting Services.
--
AG
Email: discuss at adhdata dot com
"Donn Felker" <dfelker@xxxxxxxxx> wrote in message
news:1190157593.971795.300160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Have you tried something like this?
ReportDocument report = new ReportDocument();
report.Load("myreport.rpt", "AppServerName");
report.SetDatabaseLogon("user", "pass", "server", "dbname");
// ...
// do whatever you want with your report.
Or do you need to pass credentials to the actual server itself to log
on?
.
- Follow-Ups:
- Re: ReportViewer Control Permission
- From: "Walter Wang [MSFT]"
- Re: ReportViewer Control Permission
- References:
- ReportViewer Control Permission
- From: AG
- Re: ReportViewer Control Permission
- From: Donn Felker
- ReportViewer Control Permission
- Prev by Date: When user press F5 after a button click event, the click event fires again!
- Next by Date: Re: ASPNET (NETWORK SERVICE) identity cannot run SP that drop table
- Previous by thread: Re: ReportViewer Control Permission
- Next by thread: Re: ReportViewer Control Permission
- Index(es):
Loading