实施Oracle.Web.dll,Oracle.DataAccess.dll 64位Windows Server 2008上失败,IIS 7.5的32位残疾人 [英] Implementing Oracle.Web.dll, Oracle.DataAccess.dll 64-bit failed on Windows Server 2008 with IIS 7.5 32-bit disabled

查看:786
本文介绍了实施Oracle.Web.dll,Oracle.DataAccess.dll 64位Windows Server 2008上失败,IIS 7.5的32位残疾人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用这种环境中成功测试我MVC4程序

After successfully testing my MVC4 programs using this environment

甲骨文32位工作

我试图把它与禁止32位应用程序,然后我开始陷入与异常的IIS发布到64位Windows 2008服务器:引用的DLL的依赖无法找到!

I tried to publish it to 64-bit Windows 2008 Server with the IIS that disallows 32 bit apps, then I start getting stuck with the exception : the referenced dll's dependencies cannot be found!

我想尽建议互联网可以给我包括修改web.config文件,以反映其对DLL文件部署到服务器上使用的提示全局缓存CMD的赢2008!

I tried every advice the internet can give me including modifying web.config to reflect their dlls' on deploy-to server win 2008 using global cache cmd's on the prompt!

然而,没有什么作品。 32位的是工作,但64位一贫如洗!

Yet nothing works. 32-bit is working but 64-bit is flat broke!

甲骨文64身无分文

推荐答案

首先,我身边停在web.config搞乱。于是,我重新安装的Oracle 11g 64我的Windows 2008服务器上。最后,我放在11gx64的安装之上ODAC。成功的关键是找到正确的ODAC以符合甲骨文的系统上的版本,你有。

First, I stopped messing around the web.config. Then, I re-installed Oracle 11g 64 on my Windows 2008 server. Finally I placed ODAC on top of 11gx64's installation. The key to success is locating the correct ODAC to match the version of Oracle you have on your system.

http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

要验证是否已正确安装正确的ODAC过是Oracle 11 g您不得不考虑[asp.net]和[ODP.net]目录,以确保它们都具有2.X的和4的显示目录中的每个bin和其presence在全局缓存64。

To VERIFY you have the right ODAC installed correctly over oracle 11 g you have to look into [asp.net] and [ODP.net] directories to make sure they BOTH have 2.x's and 4's dirs in each bin and their presence in global cache 64.

installOracle64withODAC

GAC_64大会视图Oracle.Dataaccess和Oracle.Web

亚特解决ODAC安装的问题,我开始与Oracle客户端dll​​的实验。我从斌[2.X]我的应用程序的编译斌复制的Oracle.DataAccess.dll(64位)仅看我的节目仍与它无法找到相关的DLL的相同投诉坠毁。然后,我从斌[4]复制的Oracle.DataAccess.dll,那么一切工作正常!

Ater solving the ODAC installation problem, I start experimenting with oracle client dll's. I copied the Oracle.DataAccess.dll(64-bit) from bin [2.x] to my app's compiled bin only to watch my program still crashed with the same complaint that it cannot find the dependent DLL's. Then I copied the Oracle.DataAccess.dll from bin [4], then everything WORKS fine!!

现在剩下的问题是,为什么4.112.4寄存器缓存GAC_64没有找到工作很好,但一组DLL在GAC_64注册打破了计划?不禁不是糊涂了。

Now the remaining question is why 4.112.4 not found in register cache GAC_64 is working great but the set of dll's registered in GAC_64 broke the program? Can't help not being confused.

请参阅所产生的工作的dll的观点==>

See the resulting view of the working dlls ==>

installOracle64一起工作的DLL

如果您获得了所有那些我展示在这种情况下屏幕,你MVC4应用程序应该与Oracle高掺量11克64位客户端!祝你好运!我将与大家分享我的!

If you acquire all those screens I show in this case, your MVC4 apps should fly high with Oracle 11 g 64-bit client! Good luck! I'll share mine with you!

这篇关于实施Oracle.Web.dll,Oracle.DataAccess.dll 64位Windows Server 2008上失败,IIS 7.5的32位残疾人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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