什么是需要与甲骨文从Visual Studio 2010的工作? [英] What is needed for working with Oracle from Visual Studio 2010?

查看:169
本文介绍了什么是需要与甲骨文从Visual Studio 2010的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是需要与甲骨文从Visual Studio 2010的工作?

What is needed for working with Oracle from Visual Studio 2010?

环境: 1 - 在开发PC:

Environment: 1 - On development pc:

Windows 7旗舰版64位(4 GB RAM,双核2.6 GHz的)

Windows 7 Ultimate 64 bit (4 GB ram, Dual-Core 2.6 GHz)

  • 在Windows 7旗舰版64位(4 GB RAM,双核2.6 GHz的)
  • 的Visual Studio 2010旗舰版
  • ODAC(从包装ODTwithODAC112012.zip)
  • (也ODAC10203x64.zip不能在Windows 7 64安装)
  • Windows 7 Ultimate 64 bit (4 GB ram, Dual-Core 2.6 GHz)
  • Visual Studio 2010 Ultimate
  • ODAC (from package ODTwithODAC112012.zip) (also ODAC10203x64.zip does not install on Windows 7 64)

2 - 在服务器:

2 - On server:

  • 在Windows 2003中
  • 的Oracle 11g(11.2.0.1.0)
  • 在.NET(2.0,3.0,3.5,4.0)(安装了SPS)

问题: (简单),如果我创建VS一个控制台应用程序,并设置.NET版本为3.5和平板x86的,它适用于开发PC,但不是在服务器上。如果我设置平板到x64或任何CPU,这是行不通的;无论在开发PC,也不在服务器上(部署)。

Problem: (Simple) If i create a console app in vs and set .NET version to 3.5 and plateform to x86, it works on development pc but not on the server. If I set plateform to x64 or Any CPU, it does not work; neither on development pc nor on the server (deployed).

我已经搜查,发现有将在12月的ODP.NET(64).NET 4的支持。但我不编译到.NET 4.0!但是.NET 3.5(至极的内部只是.NET 2.0)。其他教程和如何来做忽略这个地狱32-64方面的任何问题!

I have searched and found there will be .NET 4 support for ODP.NET (64) on December. But I am not compiling to .NET 4.0! But .NET 3.5 (Wich is internally just .NET 2.0). Other tutorials and 'how to's do ignore any problems with 32-64 aspect of this hell!

提前感谢!

推荐答案

服务器是否已经安装了ODP客户端软件?

Does the server have the ODP client software installed?

这可以是32位或64位。编译到值为anycpu,它不应该的问题(如果你使用4.0,你将不得不使用32位的,因为现在它似乎并不具备64bit的准备)。

This can be 32 or 64 bit. Compile to ANYCPU and it should not matter (if you were using 4.0 you would have to use 32bit for now since it doesn't seem to have the 64bit ready).

不过既然你正在运行ODTwithODAC112012您运行的是最新的和最伟大的ODP(本地),所以你应该为32位时设置。只要确保在服务器上安装,您应该设置。如果已安装,哪些错误是你接受?

But since you are running ODTwithODAC112012 you are running the latest and greatest ODP (locally) so you should be set for a 32 bit run. Just make sure it installed on the server and you should be set. if it is installed, what errors are you receiving?

下面是在Oracle网站的一些论坛的帮助: 主题:中间语言版本oracle.dataaccess.dll 的 &放大器; 如何确定我的Web服务器是否正确配置了ODP.Net?

here are some forum help on the oracle site: Thread: Intermediate Language version of oracle.dataaccess.dll & How do I determine if my web server is correctly configured for ODP.Net?

验证安装ODP(%ORA_HOME%\ 11.2.0 \ Client_1的\ odp.net)。

Verify that ODP is installed (%ora_home%\11.2.0\client_1\odp.net).

这篇关于什么是需要与甲骨文从Visual Studio 2010的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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