Home > Database > Mysql Tutorial > 在IIS(64位)上部署WCF服务访问Oracle数据库

在IIS(64位)上部署WCF服务访问Oracle数据库

WBOY
Release: 2016-06-07 15:36:42
Original
1351 people have browsed it

一、安装oracel10g client,必要时请使用administrator用户登录系统后再安装 二、找到安装目录下的bin目录,添加ASP.NET相关的用户权限,之后重启IIS,否则会报告: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater. 三

一、安装oracel10g client,必要时请使用administrator用户登录系统后再安装

二、找到安装目录下的bin目录,添加ASP.NET相关的用户权限,之后重启IIS,否则会报告:

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

三、因为IIS是64位,此时访问Oracle会报告:

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.

解决办法是在命令行执行以下命令:

 

 

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template