在没有安装oracle的计算机上安装带有oracle数据库支持的Windows C#表单应用程序 [英] Installing windows C# form application with oracle database support on computers with no oracle installed

查看:58
本文介绍了在没有安装oracle的计算机上安装带有oracle数据库支持的Windows C#表单应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2010中创建了一个使用oracle 10g数据库的Windows C#表单应用程序。我创建了它的安装文件,并将其安装在我的PC上,它可以正常工作。但是当安装在另一台没有oracle的PC上时安装,它没有工作,我的意思是没有显示数据库中的数据。我的问题是如何在应用程序的安装文件中包含oracle数据库表,以便它可以安装在没有安装oracle的PC上?

解决方案
你没有选择,只能在工作站上安装Oracle服务器,并强烈建议,甲骨文从应用程序安装SEPERATELY。



如果客户已经在某处安装了Oracle服务器并且他们想要使用它而不是您想要安装的服务器怎么办?



此外,为了使您的应用程序正常工作,还必须在将要安装应用程序的计算机上安装Oracle CLIENT。同样,这应该从您的应用程序中单独安装,然后由客户安装。这是因为您无法预测客户将拥有哪个版本的Oracle。并非每个版本的Oracle客户端都适用于每个版本的Oracle服务器。


I have created a windows C# form application in VS 2010 which makes use of oracle 10g database.I created a setup file of it, and installed it on my PC,it works correctly.But when installed on another PC with no oracle installed ,It did not work, i mean no data from database was displayed.My question is how to include oracle database tables in the setup file of the application, so that it can be installed on PC with no oracle installed?

解决方案

You have no choice but to install the Oracle server on the workstation, and it's HIGHLY recommended that Oracle be installed SEPERATELY from your application.

What if the customer already has an Oracle server installed somewhere and they want to use that and not the one you're thinking of installing??

Also, in order for your application to work an Oracle CLIENT must also be installed on the machine where your application is going to be installed. Again, this should be installed SEPERATELY from your application and left up to the customer to install. This is because you cannot predict which version of Oracle the customer will have. Not every version of the Oracle client will work with every version of an Oracle server.


这篇关于在没有安装oracle的计算机上安装带有oracle数据库支持的Windows C#表单应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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