Link to home
Start Free TrialLog in
Avatar of David_zu
David_zu

asked on

Move Crystal Report to Production Server

Hi,

I am using Crystal Report for Visual Studio 2010 to develop Crystal Report. In the ASP.NET, I use the code behide to set the database logon credential for Crystal Report.

ReportDocument rpt = new ReportDocument();
rpt.Load(Server.MapPath(@"~\bin\RPT001.rpt"));
rpt.SetDatabaseLogon(conn.UserID, conn.Password, conn.DataSource, conn.InitialCatalog, false);

Open in new window


It is working fine connecting to development database server. However, after I change the database connection to production database server, it show me "Database logon failed.".

How can I do so I can move my crystal report to production smoothly? Thank you.
ASKER CERTIFIED SOLUTION
Avatar of vasto
vasto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David_zu
David_zu

ASKER

Yes. I believe this is what I want. I will download and try it. Thank you.