Skip to Content
0
Former Member
Jun 07, 2011 at 03:11 PM

How to setup a JNDI connection from Crystal report 12 (2008) ?

228 Views

I've CR 12 (2008)

I've a report actually bind to datasource via DSN to a sql server.

Now we need to migrate this connection to JDBC.

So i downloaded microsft sql driver for jdbc and copied as

C:\Program Files (x86)\Business Objects\Common\4.0\java/lib/external/sqljdbc4.jar

I edited CRConfig.xml. adding this full path and file name at <Classpath>

The parameters i entered are:

URL: jdbc:sqlserver://10.1.2.40:1433;DatabaseName=CPR;username=selyon;password=......

class name: com.microsoft.sqlserver.jdbc.SQLServerDriver

in the second page i entere my usernmae, my password and the db name,

but when click on 'finish' CR tell me 'unable to fine JNDI driver'.

What's the problem now