Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports - Data Connectivity
Viewing all articles
Browse latest Browse all 269

Change from ODBC to OLE DB connection does not work

$
0
0

Hi

See also my attached file with screen dumps.

 

I have problems with changes from ODBC to OLE DB connection (with Oracle 10.2).

I use Crystal Reports v.11.5 and use my reports in a CAD program called Elmaster.

I use Win XP Sp3.

 

One of my reports is working but the rest does not work.

For the reports that does not work I get up a message box with the headline "Database login"

The fields "server name" and "Database" are greyed out and i am supposed to write the login ID and the password. But even if I write the accurate Login ID and password I get the message "Logon failed" and then it returns to the message box with the headline "Database login".

And I get the message box:"Logon failed. Details:

IM010:[Microsoft][ODBC Driver Manager] Data source name too long "

When I open the “ODBC Data Source Administrator"-"System DSN" and make a test connection with my database it is OK with my connection.

 

When I run Crystal, choose menu:"Database"-"Verify Database" I get the message:"The database is up to date." for both the report thats work but also for the reports that does not work.

 

I have defined following file tnsnames.ora

C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora” has following content

###################################################

# tnsnames.ora Network Configuration File:

C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

 

ELMA10 =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = bbtsrvhsm001)

 

(PORT = 1521))

    )

    (CONNECT_DATA =

      (SERVICE_NAME = elma10)

    )

  )

###################################################

 

When I made the setup for the connection I have choosed following in Crystal:

Menu:"Database"-"Set datasource connection"

 

Here I have choosen in the lower window "Replace with":

"Create New Connection"-"OLE DB (ADO)"-"Oracle Provider for OLE DB"

 

In the window "OLE DB (ADO) I have set following:

"Data Source"= "ELMA10"

"User ID"="PROJECT"

"Password"= My current password

"Local identifier"=1033

"OLE DB Service"=-5

 

Anyone who knows what I have missed?

 

Best Regards

Jonas Silvberger


Viewing all articles
Browse latest Browse all 269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>