64-bit operating system with odp.net access to Oracle 11g

Source: Internet
Author: User
Tags windows x64

Summary: 64-bit operating systems when you deploy a. NET program to access Oracle, you cannot connect to the problem. (Note: The client is a 64-bit system, whether the server is 64-bit or 32-bit independent.) )

1. Search for the relevant version of the ODAC URL on the Oracle website: http://www.oracle.com/cn/solutions/midsize/index-090165.html We need to access the database is 11.2.02.1 version then download this:64-bit Odac 11.2 Release 3 (11.2.0.2.1) Xcopy for Windows x64

2. Download it later is a zip file: odac112021xcopy_x64.zip

3.

Extract the odac112021xcopy_x64.zip to a directory on the disk, such as "D:\odac112021xcopy_x64", and enter the directory at the command line (cd/d d:\ Odac112021xcopy_x64), enter the following command: "Install.bat all C:\odp.net myhome (Install all components)".

4. After running the above command, all files will be automatically copied to the C:\odp.net directory, then the command line into the C:\odp.net directory (cd/d C:\odp.net),

Run the command: "Configure.bat all MyHome (Configure all component)". The above command will automatically want the GAC to register odp.net related DLLs, while adding references in vs2010 to see the version of Oracle.DataAccess.dll.

5. Finally, you need to add the system environment variable path, c:\odp.net;c:\odp.net\bin;

This step is not required if you are only able to access Oracle on the server for a 64-bit operating system. Test it, you can access it on the line.

Complete

64-bit operating system with odp.net access to Oracle 11g

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.