Crystal Report Connection
hello!
Code:
Database crDatabase = cChart_Thickness_DS.Database;
Tables crTables = crDatabase.Tables;
ConnectionInfo crConnInfo = new ConnectionInfo();
crConnInfo.ServerName = "ip address\\SQLEXPRESS";
crConnInfo.DatabaseName = "table";
crConnInfo.UserID = "user";
crConnInfo.Password = "password";
//Loop through each table and set the connection info
//Pass the connection info to the logoninfo object then apply the
//logoninfo to the main report
foreach (Table crTable in crTables)
{
TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
crLogOnInfo.ConnectionInfo = crConnInfo;
crTable.ApplyLogOnInfo(crLogOnInfo);
}
i am using above in the server connection to the crystal report and SQL express is good, but when i run it on the client it shows up the enter for password in the crytal report and when i enter password it always failed.
considering my password is correct.
what's wrong with this my problem is on the client side, is there any way to solve this?
tnx much.
Re: Crystal Report Connection
I would check to ensure you are in fact, getting a good solid connection.