Wrox Programmer Forums
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 18th, 2007, 10:22 AM
Registered User
 
Join Date: Apr 2007
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();

...







Similar Threads
Thread Thread Starter Forum Replies Last Post
LogOnException: Logon failed leoluvis Crystal Reports 0 February 7th, 2006 05:31 AM
Logon Failed! VannAustin BOOK: Professional Crystal Reports for VS.NET 0 March 3rd, 2005 05:13 AM
logon failed Rohit Ranjan Crystal Reports 1 February 28th, 2005 06:19 PM
LOGON FAILED! winnie1778 Crystal Reports 1 January 25th, 2005 04:28 AM
Logon failed. msrnivas .NET Web Services 3 January 24th, 2005 02:56 PM





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