How to pass parameters and LogOn Information from ASP.NET (C#) to Report

  • Hello,

    I was using Crystal Reports earlier and had the code for opening the Crystal Report from my ASP.nET 2.0 (C#) code and also was able to pass the parameters but now I am new to SQL Server Reporting Services and have not Idea on How to pass parameters and LogOn Information from ASP.NET (C#) to SQL Server Reporting Services.

    Can I open the Report from my ASP.NET?

    Thanks!

  • SSRS use Windows authentication by default while Asp.net uses forms authentication by default so if your Asp.net application is not intranet application then your better option is to use the ReportViewer control the web version.

    http://gotreportviewer.com/

    Kind regards,
    Gift Peddie

  • Thanks for your reply.

    It is an Intranet app and I am using Windows Authentication.

    How Can I pass parameters from ASP.NET To Report?

  • The two links below covers all known issues and existing solution if you choose to use ReportViewer control you could download the code in the ReportViewer site and see how it is implemented.

    http://forums.asp.net/t/1376096.aspx

    http://geekswithblogs.net/gobrien/archive/2004/07/30/9116.aspx

    Kind regards,
    Gift Peddie

  • Hi! I am working on a report as well that needs the parameters passed to it. Your link is unaccessible from within our firewall... Would you be willing to post the needed information? (my url works, just does not pass the parameters to the report - they just sit in the url)

    Thanks in advance!

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply