更好的Oracle数据库连接 [英] Better Oracle DB connection
问题描述
您好
我有一台运行Windows Server 2008 64的Web服务器,带有Oracle 11g 64.
我在Windows 7下使用Visual Studio 2013进行开发32.
我已在两台机器(分别为64和32版本)和net framework 4.5
为了通过sqlDataSource连接dbgrid我使用了odp托管,但是如果我尝试在我的代码中使用它,我在服务器中遇到问题:'无法加载文件或程序集' Oracle.DataAccess'或其中一个依赖项'
问题是:
- 是否可以这样做我的配置?
- 是否需要将我的Windows 7机器更改为64位?
- 什么连接更好 - odp管理或oledb ???在我的代码中使用oledb我没有任何问题。
谢谢
Hello
I have a Web server running Windows Server 2008 64, with Oracle 11g 64.
I developing with Visual Studio 2013 under windows 7 32.
I have installed the odp in both machines (64 and 32 versions respectively) and net framework 4.5
To conect dbgrid by sqlDataSource i used odp managed, but if i try to use it in my code, i have problems in the server: 'Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies'
The question is:
- Is posible to do this whit my configuration?
- Is necessary to change my windows 7 machine to 64 bits?
- What conection is better - odp managed or oledb??? Whith oledb in my code i haven't any problems.
Thanks
推荐答案
这篇关于更好的Oracle数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!