p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Crystal Reports (http://p2p.wrox.com/forumdisplay.php?f=113)
-   -   logon failed (http://p2p.wrox.com/showthread.php?t=56842)

serdarbyktmz April 18th, 2007 10:22 AM

logon failed
 
i have a .net 2003 web application to view cr xi reports

my question is about logon failed mistake

actualy in the crystalreportsviewer object's logoninfo property every thing looks correct

what else can be or what can look correct bu can be wrong

my code is like this.


ConnectionInfo ci = new ConnectionInfo();
ci.Password = "asd";
ci.UserID = "asd";
ci.DatabaseName = "asd";
ci.ServerName = "192.000.0.00";

TableLogOnInfo tli = new TableLogOnInfo();
tli.TableName="asd";
tli.ConnectionInfo = ci;

TableLogOnInfos tlis = new TableLogOnInfos();
tlis.Add(tli);

ReportDocument rpt=new ReportDocument();
string _adres = read.GetReportPath(_Rid);
rpt.Load(Server.MapPath(_adres));

crviewer.ReportSource=rpt;

crviewer.LogOnInfo=tlis;

crviewer.databind();

...




All times are GMT -4. The time now is 09:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.