Nightmare with oracle 9i - dumbos do not want to migrate to newer versions YET! So getting this error Could not load file or assembly 'oracle.dataaccess' or one of its dependencies. An attempt was made to load a program with an incorrect format. how did i resolve MY issue?: on development machine what I did was to install the oracle client ODAC112040Xcopy_64bit. Then when adding reference to oracle.dataaccess client I added the dll found under Extensions in visual studio which points to C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.4.0__89b483f429c47342\oracle.dataaccess.dll I was able to deploy my application on local iis and run the web app successfully how did I resolve MY issue on deployment server?: when I deployed the web app on windows server 2012 R2, i got the same error AGAIN! I selected all projects to be built under x64 I set Enable 32-bit applications to false for the application pool
Posts
Showing posts from March, 2017