Deploying the WCF Service on IIS (64-bit) to access the Oracle database

Source: Internet
Author: User
1. Install cancel10gclient. If necessary, log on to the system as administrator and install the client. 2. Find the bin directory under the installation directory and add ASP.. NET related user permissions, and then restart IIS. Otherwise, the report is: System. data. oracleClientrequiresOracleclientsoftwareversion8.1.7orgreater. 3.

1. Install the oracel10g client. If necessary, log on to the system as administrator and install the client. 2. Find the bin directory under the installation directory and add ASP.. NET related user permissions, and then restart IIS. Otherwise, the report is: System. data. oracleClient requires Oracle client software version 8.1.7 or greater. 3.

1. Install the cancel10g client. Use the administrator user to log on to the system before installing it.

2. Find the bin directory under the installation directory, add ASP. NET-related user permissions, and restart IIS. Otherwise, the report will be displayed:

System. Data. OracleClient requires Oracle client software version 8.1.7 or greater.

Iii. Because IIS is 64-bit, access to Oracle will report:

Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

The solution is to execute the following command on the command line:

Cscript % SYSTEMDRIVE % \ inetpub \ adminscripts \ adsutil. vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

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.