Print Page | Close Window

Connecting Reports to DB2 database through Java ap

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=15694
Printed Date: 21 Apr 2025 at 6:42pm


Topic: Connecting Reports to DB2 database through Java ap
Posted By: sscrystal
Subject: Connecting Reports to DB2 database through Java ap
Date Posted: 22 Feb 2012 at 1:18pm
HI,

I am trying to connect to crystal reports to DB2 database through Java application. Here is the error that I get:

**************************************

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: JDBC Error: java.lang.UnsatisfiedLinkError: db2jdbc (C:\PROGRA~2\IBM\SQLLIB\BIN\db2jdbc.dll is not a valid Win32 application. )---- Error code:-2147467259 Error code name:failed

***************************************

The OS for my machine is Windows 7, 64-bit.

Please assist. Any help will be greatly appreciated.

Thanks,
-Ss





Replies:
Posted By: hilfy
Date Posted: 06 Mar 2012 at 5:21pm
Crystal is a 32-bit application.  Do you have the 32-bit DB2 ODBC driver installed and configured on the server?  If not, you need to do that as Crystal will not connect to a 64-bit ODBC connection.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window