Thread: logon failed
View Single Post
  #1 (permalink)  
Old April 18th, 2007, 10:22 AM
serdarbyktmz serdarbyktmz is offline
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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();

...


Reply With Quote