Error using oracle.dataaccess.dll

后端 未结 5 1529
生来不讨喜
生来不讨喜 2020-12-31 18:28

I have a web application which uses Oracle.DataAccess.dll to communicate with an Oracle db. The web application deployed on 32 bit windows system works but not on windows se

5条回答
  •  庸人自扰
    2020-12-31 19:21

    If you do the following, everything works fine 1. Consistently set all your dlls to AnyCPU. 2. Make sure that the appropriate version of the dll is installed on the machine on which the executable will be run (i.e. 32 bit or 64 bit i.e. same as OS) 3. Ignore compiler warnings that the a 64/32 bit version is being used rather than an MSIL version

    The compiled versions can then be used on both 32 and 64 bit as long as the appropriate version of the oracle dll is installed.

提交回复
热议问题