[Help] Oracle beginners are confused, system. Data. oracleclient requires Oracle client software version 8.1.7 or greater

Source: Internet
Author: User
Tags oracleconnection
I used ms SQL all the time. Recently, due to project requirements, I had to install oracle. Compared with ms SQL, Oracle is too difficult to use. Of course, it only refers to the new user experience, O (partition _ partition) o ....
The next step is to connect to the oralce database in. net, but the following error occurs during the connection. I have not been able to solve the problem after looking for a long time. Could you ask me?
The error is as follows:
System. Data. oracleclient requires Oracle client software version 8.1.7 or greater
I am very simple. An error occurred while executing the conn. open () statement, Code The details are as follows: // String strconn = "Data Source = orcl; persist Security info = true; user id = system; Password = password ;";
String Strconn =   " Data Source = 192.168.1.102; persist Security info = true; user id = system; Password = password; " ;
Oracleconnection Conn =   New Oracleconnection (strconn );
Oraclecommand cmd =   New Oraclecommand ( " Select * from Stu " , Conn );
Conn. open ();

The execution environment is as follows:
1. I installed the Oracle virtual machine in the VM. The above code is executed on another machine, and the network of the two machines is smooth.
2. The latest Microsoft. NET Oracle client is installed in the execution environment.

After an error occurs, make the following attempts:
1. Execute the above Code directly in the vmvm where the Oracle database is installed. The code can run without any exceptions.
2. Many people on the Internet say that the ORACLE_HOME folder permission in the NTFS format is incorrect. Therefore, the full control permission of the Oracle installation directory is assigned to users such as authenticated users and ASPnet.

Can someone help me answer this question?

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.