Advertisement

03.19.2003 at 08:12AM PST, ID: 20556260
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

connecting to database using Microsoft ODBC for Oracle

Tags: odbc, oracle, microsoft
I am trying to connect to an oracle DB from Crystal Reports using Microsoft ODBC for Oracle

When trying now the following error shows up:


The Oracle(tm) client and networking components were not found.  These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation.

You are unable to use this driver until these components have been installed.


I already have Oracle Client 8.1.6 workstation 2k installed on my PC.


What DLL or files are needed for this to work?  I was told I needed to connect using Microsoft ODBC for Oracle.


Thanks

JB

Start your free trial to view this solution
Question Stats
Zone: Database
Question Asked By: JB0331
Solution Provided By: mahbub007
Participating Experts: 5
Solution Grade: A
Views: 251
Translate:
Loading Advertisement...
03.19.2003 at 08:28AM PST, ID: 8167672

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.19.2003 at 08:43PM PST, ID: 8171607

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.20.2003 at 01:54PM PST, ID: 8177130

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.20.2003 at 01:55PM PST, ID: 8177138

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.20.2003 at 09:00PM PST, ID: 8178944

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.24.2003 at 05:30AM PST, ID: 8194887

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.24.2003 at 12:17PM PST, ID: 8197771

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.25.2003 at 02:49PM PST, ID: 8206605

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.26.2003 at 04:00AM PST, ID: 8209624

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
03.19.2003 at 08:28AM PST, ID: 8167672

Try this:

http://support.microsoft.com/default.aspx?scid=/support/servicepacks/MDAC/2.71/ManifestUSA.asp

maybe you can try to use Crystal report ODBC driver for Oracle.
 
03.19.2003 at 08:43PM PST, ID: 8171607
Try these steps to config

1) use oracle network manager to set properly ip address, port number, oracle sid to point to your database server correctly.  You will need to provide a service name.  Make sure to run test to make sure the connection is correct.

2) use ODBC configuration tool in control panel / admin tool.  You need to provide service name as the server name, oracle username, etc.

3) use the data source name you defined in crystal report... you should be fine.

Good luck
 
03.20.2003 at 01:54PM PST, ID: 8177130
install oracle client runtime; this will install sql*net components.

good luck,
daniels@asix.com
 
03.20.2003 at 01:55PM PST, ID: 8177138
whoops, didn't see that thread, you've already done the client install.

sorry,
daniels
 
03.20.2003 at 09:00PM PST, ID: 8178944
the problem is that microsoft is 7.3 compatible and requires sqlnet 2.3 ... this is not part of the oracle8i client! - so to get microsoft ones working you need to install a 7.3 client ...  or better, switch to use the Oracle ODBC driver instead (816 client should have installed a oracle816 odbc driver!)

Please note that 816 is not anymore supported - you should at elast switch to 817! .. there is also a seperate 817 ODBC download available on OTN (follow the Download section).

Cheers, Stefan
 
03.24.2003 at 05:30AM PST, ID: 8194887
OK...I loaded Oracle Designer 6i which included SQLnet 2.3 from the OTN web site.

This cleared up the error I was receiving above but now I have another error.

ODBC error:[Oracle][ODBC][Ora] ORA - 12514: Message 12514 not found;product = RDBMS80;facility=ORA

I checked the TNSNAMES.ORA file and the server name is in there.

Thanks,

JB
 
03.24.2003 at 12:17PM PST, ID: 8197771
set designer as your active oracle home (there is a tool to set this home in your designer install directory : {des6i}\BIN\OHSEL.EXE).

odbc will pickup the file in {des6i}\network(or net80)\admin\tnsnames.ora
then go to command line and use TNSPING.EXE ORACLESID ({des6i}\BIN\tnsping.exe) to check if you really have it properly configured.

often happens that you use default domain names (like ".world") but when copying the tnsnames file to another location (like your new net23 path) you forget to also copy the sqlnet.ora file When using domain names ensure that your SQLNET.ORA which contains a NAMES.DEFAULT_DOMAIN value.


Cheers, Stefan




 
03.25.2003 at 02:49PM PST, ID: 8206605
Hi JB0331,
                   the method  I am going to describe, I tested this method with oracle 8.1.7. I dont have the version 8.1.6, thats why i could not test with this version, which u installed .But this method should work with oracle 8.1.6  as well. u told that u installed  Oracle 8.1.6 client in ur pc.this should also install minimum network services - sql*net/net8 client , which is required  to connect to the Oracle database server from a oracle 8.1.6 client. but unfortunately the error message u showed which is -"The Oracle(tm) client and networking components were not found. These components are supplied by Oracle ........",means the network service is not installed.most probably while u r trying to make a data source with Microsoft ODBC  for Oracle u r ending up with this message. Actually u use the Microsoft ODBC to make data source  which will be used to generate data for ur reports .u told that u installed Oracle client ,that means u dont have the Oracle Database server in ur pc.what u have to do is very simple ............

1.u didnt tell where the database is residing,wheather it is in ur pc or in other pc.what ever may be the case ,where the database is residing ,there u should find net8 components r installed.from the start menu go to the "net8 assint"  menu ,u will find a "service names" node ,there create a service name for the database . Actually a service name is already present there which is same as  the global database name or  SID of the oracle database.Suppose the global database name or sid of the database is "orahome" ,so a service name is already present which is named as 'orahome'.

2.Install a fresh copy of  Oracle 8.1.6 client (while installing notice that networking service is being installed).

3.After installing Oracle 8.1.6 client ,u now have the net8 component.from the start menu go to the net 8 easy config or net 8 assistant menu .Again create a service name here(while creating the service name here u have to provide the database service name,which u have already from step -1,that is "orahome").Suppose u created a service name here - "ora".

4.Now u have to open the ODBC data source administrator box.U can open it from the control panel ->ODBC data sources.Here, in the "User DSN" tab ,click the "Add" button.First u have to select a driver for the Data Source.Select Microsoft ODBC for Oracle ,then click "Finish" button.Then u will have few fields to populate ---
Data Source Name : Here provide the datasource name which is required to run ur reports.                            

Description : U  may keep this field blank or give a small description.  

User : Provide the Username and Password ,which will be used to login to the Oracle Database , the value for this field may look like this - scott/tiger                                                                                                                      

Server : Here u have to provide the service name u created in step -3 ,which is "ora".

Then click ok . Now u r ready with ur Datasource to be used with ur reports.I tested this method ,I could successfully retrieve data from the Oracle Database using Datasource created with this method.It works very nicely.Actually it is not necessary to consider designer 6i .U told that u checked the server name in the tnsnames.ora and u provided this servername while creating datasource and again ended up with another error ,this is because u provided the servername which is actually the service name I told u to create in step 1(see above). But u have to provide the service name which is created in step 3(which is for the client not for the database server).So in this method u have to create two service names ,one for the database server itself  and the other is for the client.
What I feel , u have to have a fresh copy of  Oracle 8.1.6 installed.Then all ur problem will go away.Try the method ,hope this will solve ur problem.

Thanks                                                     Mehbub
Accepted Solution
 
03.26.2003 at 04:00AM PST, ID: 8209624
Uninstalled and started from scratch using the above method and it worked!


Thank you,


JB
 
 
20080236-EE-VQP-29