Oracle Data Access components 64 bit not working in IIS express 7.5

╄→尐↘猪︶ㄣ 提交于 2019-12-02 08:35:27

问题


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.

thanks in advance!


回答1:


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 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

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.

Make sure you read the instructions for Upgrading from IIS Express 7.5.



来源:https://stackoverflow.com/questions/8412401/oracle-data-access-components-64-bit-not-working-in-iis-express-7-5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!