Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
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 September 29th, 2006, 05:37 AM
Registered User
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to beuls
Default c# crystal report viewer - login error

Hi everyone,

i have created a crystal report in c#.Net. the table is in oracle. when i place a crystal report viewer in the form and running it, it is asking for login information about server name, database name, user name and password...i gave the server ip address for server name, oracle(the host name in sql plus) for database name and my username and password. but i cant login. can anyone help me pls? thanks in advance


Old April 19th, 2009, 03:02 AM
Posts: n/a
Default C# Crystal report Logon information

crConnectionInfo.ServerName = "YOUR SERVER NAME";
crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
crConnectionInfo.Password = "YOUR DATABASE PASSWORD";

CrTables = cryRpt.Database.Tables ;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
crtableLogoninfo = CrTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;

view full source code


Old July 14th, 2011, 01:32 AM
Registered User
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default emergency help

where i should write these codes? in "ReportViewer.cs" or in "Report.cs"?
Old July 20th, 2011, 06:54 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik

Dear friend:
I recommend u to use PUSH methos make ur data as an object (DataSet) & then push it to ur report, its much better (i think so)
Hovik Melkomian.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with crystal activex report viewer NagarajuK Crystal Reports 1 March 17th, 2008 06:57 PM
Vb.net with Crystal Report Viewer sgupta .NET Framework 1.x 0 November 27th, 2006 02:39 PM
Crystal Report (9) Viewer Problem Kaustav VB Components 1 October 30th, 2005 07:02 PM
Crystal Report Viewer Control not on my toolbar tciinc VB.NET 2002/2003 Basics 2 March 31st, 2004 06:41 PM

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