How to render the report on reportviewer control under forms authentication using SSRS 2005
-
Hi all, I have populated treeview control based on logged in user's credentials under forms authentication. I have used cookies management. The next step is how to render the populated report on reportviewer control. I have tried with following code ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://servername/Reports"); ReportViewer1.ServerReport.ReportPath = "/" + Request["Path"]; Can any one help me please ?
-
Hi all, I have populated treeview control based on logged in user's credentials under forms authentication. I have used cookies management. The next step is how to render the populated report on reportviewer control. I have tried with following code ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://servername/Reports"); ReportViewer1.ServerReport.ReportPath = "/" + Request["Path"]; Can any one help me please ?
MSinha wrote:
Can any one help me please ?
With what? You haven't stated what your problem is. What is wrong with the code you have posted? Are you getting an error?
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
-
MSinha wrote:
Can any one help me please ?
With what? You haven't stated what your problem is. What is wrong with the code you have posted? Are you getting an error?
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
Problem is with rendering of the report from tree view nodes to reportviewer control. I gets this error: The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="/ReportServer/logon.aspx?ReturnUrl=%2fReportServer%2fReportExecution2005.asmx">here</a>.</h2> </body></html> --.