开发者

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

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

Environment: 1 - On development pc:

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

  • 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 - On server:

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).

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!

Many thanks in advance!


Does the server have the ODP client software installed?

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).

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?

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?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜