Oracle Data Access组件64位在IIS Express 7.5中不起作用 [英] Oracle Data Access components 64 bit not working in IIS express 7.5

查看:160
本文介绍了Oracle Data Access组件64位在IIS Express 7.5中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了ODAC(Oracle数据访问组件 64位)odp.net4.但是不幸的是,它不适用于IIs Express. IIS express文档说它同时支持32位和64位系统.它是否可以与odp.net 4(64位)一起使用,还是必须与开发计算机中的odac 32位组件一起使用?

I have installed ODAC (Oracle data Access Components 64 bit) odp.net 4. But unfortunately it does not work with IIs Express. IIS express documentation says it supports both 32bit and 64bit systems. Is it possible that it can work with odp.net 4 (64 bit), or must we work with odac 32 bit components in development machines.

提前谢谢!

推荐答案

现在可能为时已晚,但是IIS Express 7.5是32位的,不能承载64位的进程.我假设这就是您的问题,因为我在Oracle.DataAccess.dll中遇到了类似的问题.但是, IIS Express 8.0 Beta 可以托管您的64位站点.

Probably too late now, but IIS Express 7.5 is 32-bit and cannot host a 64-bit process. I'm assuming that's what your problem is/was because I had a similar issue with the Oracle.DataAccess.dll. However, IIS Express 8.0 Beta can host your 64-bit site.

当您使用Visual Studio启动站点时,它只会启动32位IIS Express 8进程(F5或Ctrl-F5).但是,如果要调试,可以从命令行启动64位进程,然后从Visual Studio附加到IIS Express进程.我使用的命令是:

Visual Studio will only start the 32-bit IIS Express 8 process when you use it to start the site (F5 or Ctrl-F5). However, you can start the 64-bit process from the command line and then attach to the IIS Express process from Visual Studio, if you want to debug. The command I use is:

c:\Program Files\IIS Express\iisexpress.exe /site:SiteName

默认的IIS Express配置文件位于文档文件夹中的IISExpress\config\applicationhost.config.该文件包含您网站的定义,并为您提供了可以更改的网站名称.

The the default IIS Express config file is in your documents folder at IISExpress\config\applicationhost.config. That file contains the definitions for your sites and gives you the site name, which you can change.

确保您阅读了从IIS Express升级的说明. 7.5 .

这篇关于Oracle Data Access组件64位在IIS Express 7.5中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆