cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio 2008 Crystal XI R2 Database Logon Connection Problem

Former Member
0 Kudos

I am converting from vb6 to .net and while trying to get crystal 11 to work in dot .net. I am using crystal report x1 r2.

i noticed that CRAXDRT.DatabaseTable.ConnectionProperties doesn't seem to work the same way it used to. I used it to pass the database password to the report.

for example CRXTable.ConnectionProperties("Database Name") would return the database name in vb6. CRXTable being CRAXDRT.DatabaseTable. In Visual studio it doesn't seem to return anything at all, its not even a string

Are you supposed to use something else to provide the password to the report in visual studio?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

There are 5 issues I see with your approach without digging too hard:

1) If you are converting VB 6 to .NET, don't use the craxdrt.dll, use the CR SDK for .NET.

2) CR XI R2 (11.5) is retired now (no support, no fixes)

3) The RDC (craxdrt.dll) has been retired and does not ship in any new versions of Crystal Reports.

4) CR XI R2 is not supported with .NET 2008

5) RDC was never tested with .NET and thus is not supported in .NET

Your options:

Obtain CR 2008 (v. 12.x). Eval is available from here:

http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

1) Use the CR SDK for .NET. See the developer help files. See [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] article on how to (The article does apply to CR 2008 and VS 2008).

See sample apps:

http://wiki.sdn.sap.com/wiki/x/JQBmBQ

http://wiki.sdn.sap.com/wiki/x/IgBmBQ

2) Download [Crystal Reports for Visual Studio 2010|http://www.sdn.sap.com/irj/sdn/crystalreports-dotnet] and use VS2010

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Edited by: Ludek Uher on Dec 20, 2011 10:50 AM

Answers (0)