Using VS2005 created a web site with backend database Oracle 11g. It is running fine on development machine which is 32 Bit O/S. I try to mount this code on 64-Bit O/S i.e Windows Server 2008 R2 enterprise. Oracle Server & Client is installed on that machine
which is compatable with 64-Bit.
VS2005 Professional Edition is installed with Framework SP2.
"Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format"
Global Assembly Cache have following entry for the Oracle.DataAccess.dll.
duttasandip4...
Member
2 Points
3 Posts
32-Bit Web Site not Working on 64-Bit
Feb 24, 2012 06:39 AM|LINK
Using VS2005 created a web site with backend database Oracle 11g. It is running fine on development machine which is 32 Bit O/S. I try to mount this code on 64-Bit O/S i.e Windows Server 2008 R2 enterprise. Oracle Server & Client is installed on that machine which is compatable with 64-Bit.
VS2005 Professional Edition is installed with Framework SP2.
My Web.Config is as follows
<add assembly="Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>
During compilation an error comes
"Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format"
Global Assembly Cache have following entry for the Oracle.DataAccess.dll.
Version=2.112.1.0
PublicKeyToken=89b483f429c47342
Processor : AMD64
Please help me to resolve this issue.
Thanks in advance