System.Data.Oracleclient requires Oracle client software Version8.1.7 or later issues

Source: Internet
Author: User

C # connecting Oracle System.Data.Oracleclient requires Oracle client software Version8.1.7 or later issues:

Start WebService the connection string in Web. config in the 32-bit system oracle10g Library is:

<add name= "emrconnectionstring" connectionstring= "Data source=test1; User Id=test1; Password=test1; Unicode=true "Providername=" System.Data.OracleClient "/><!----System.Data.OracleClient connection mode----! >
<add name= "firstconnection" connectionstring= "Provider=msdaora;data source=test; User id=test; Password=test; Persist Security info=true "providername=" System.Data.OleDb "/> <!---Note: Provider=msdaora is for 32-bit operating systems, If 64-bit operating system needs to use Provider=oraoledb.oracle--! >

When upgrading to a 64-bit operating system and oracle11g, then use the above method to connect the "System.Data.Oracleclient requires Oracle client software Version8.1.7 or a later version of the problem", specifically, the following:

① follow the permissions as modified:

2. Modify the connection string

<add name= "emrconnectionstring" connectionstring= "Data source=test1; User Id=test1; Password=test1; Unicode=true "Providername=" System.Data.OracleClient "/><!----System.Data.OracleClient connection mode----! >
<add name= "firstconnection" connectionstring= "Provider=oraoledb.oracle;data source=test; User id=test; Password=test; Persist Security info=true "providername=" System.Data.OleDb "/> <!---Note: Provider=msdaora is for 32-bit operating systems, If 64-bit operating system needs to use Provider=oraoledb.oracle--! >

System.Data.Oracleclient requires Oracle client software Version8.1.7 or later issues

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.