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.
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.
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);
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER