SSRS reports

My .net web application is close to release. My ssrs report project is not deployed to test server in BIDS 2008 environment. Considering about installation and deployment when my web application goes to production,  I cannot use the same ways while it was in developing.  

What should I do next? I appreciate if someone can tell me what/how I should do while my web application is going to production and even after production.

I remeber the report project can be packaged. I'm not quite sure if or how it is related to my next step. I need my reports go along with my web application lauch.

Thanks a lot!
LVL 1
minglelinchAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vikas GargBusiness Intelligence DeveloperCommented:
Hi,

You can use the SSRS reports in the Web application and can not include them in the Web application for easy use so you just need to deploy your ssrs reports from your test server to the Production SSRS report server and in the web application where you were given the path for  your local Report server you just need to change it to the production report server with use of a variable .

Hope this will guide you for what you were looking for
0
minglelinchAuthor Commented:
Thanks for responding, but really what I am looking for. In the development stage, I did this on development and testing server. I do not want to use this way for production. That's why I ask this question.

If I use this way, how to resolve authentication issue? As the DB connection for reports uses window authentication, while in production, Window authentication should not be used any more, right? How to resolve this issue?

Thanks.
0
Vikas GargBusiness Intelligence DeveloperCommented:
Hello,

You can store the username and password in the webconfig while including the SSRS report through report viewer in the ASP web page..

using Microsoft.Reporting.WebForms;
using System;
using System.Net;

public partial class Reports : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //ShowReportRemoteServer();
            ShowReportLocalServer();
        }

    }

    private void ShowReportLocalServer()
    {
        string ReportURL1 = "http://localhost/Reportserver_SQL2012";
        ReportViewer1.ServerReport.ReportServerUrl = new Uri(ReportURL1);
        ReportViewer1.ServerReport.ReportPath = "/OM_SSRS/Sales_Report";
        ReportViewer1.ProcessingMode = ProcessingMode.Remote;
        ReportViewer1.SizeToReportContent = true;
        ReportViewer1.ServerReport.Refresh();
    }

    
    public class CustomReportCredentials : IReportServerCredentials
    {
        private string _UserName;
        private string _PassWord;
        //private string _DomainName;

        public CustomReportCredentials(string UserName, string PassWord, string DomainName)
        {
            _UserName = UserName; 
            _PassWord = PassWord; 
            //_DomainName = DomainName; 
        }
        public System.Security.Principal.WindowsIdentity ImpersonationUser 
        { 
            get { return null; } 
        }
        
        public ICredentials NetworkCredentials 
        {
            //get { return new NetworkCredential(_UserName, _PassWord, _DomainName); } 
            get { return new NetworkCredential(_UserName, _PassWord); } 
        }
        
        public bool GetFormsCredentials(out Cookie authCookie, out string user, out string password, out string authority) 
        { 
            authCookie = null; user = password = authority = null; return false; 
        }
    }
    
}

Open in new window


Hope the below link would be helpful to you

http://stackoverflow.com/questions/671694/passing-credentials-to-sql-report-server-2008
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
minglelinchAuthor Commented:
Thanks for all posts. I was actually looking for the method for Report production deployment script.  Now I got to know that rs.exe is what I'm looking for.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.