如何 - 获取 Oracle.ManagedAccess 驱动程序以与已安装的 VB.Net 应用程序一起使用 [英] How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

查看:86
本文介绍了如何 - 获取 Oracle.ManagedAccess 驱动程序以与已安装的 VB.Net 应用程序一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 32 位应用程序要安装在 Win10(x64 操作系统)上.我所有的 Oracle 功能都在调试器中工作.Oracle.ManagedAccess 驱动程序在 VS 项目中正确注册,应用程序在调试器中按预期工作.但是,当我构建基于 WiX 的安装包并运行已安装的应用程序时,出现以下错误:

I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error:

我在这里错过了什么?在上个月使用 ODP.NET 驱动程序Oracle.DataAcess"的上一个 VS2013 代码化身中,该应用程序在安装时运行良好.我不知道还有什么地方可以接受这个.欢迎任何帮助.

What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle.DataAcess', the application worked fine when installed. I'm at a loss as to where else to take this. Any assistance most welcome.

推荐答案

根据 Stein Asmul 的输入,我解决了这个问题.解决方案只需在product.wxs中包含Oracle.ManagedDataAccess.ddl,将文件存放在应用程序文件夹中即可解决问题.

Based on input from Stein Asmul, I jave resolved the problem. Solution simply involved including the Oracle.ManagedDataAccess.ddl in the product.wxs depositing the file in the application folder solved the problem.

这篇关于如何 - 获取 Oracle.ManagedAccess 驱动程序以与已安装的 VB.Net 应用程序一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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