Monday, July 29, 2013

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. Oracle Data Access 64 bit

Hi,
I was try to connect with Oracle.DataAccess dll (64bit) It was working fine with Windows/Console base application but once I try to connect it through Asp.net Application it throws error
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program

This isssue has solved with 32 bit of Oracle.DataAccess library because I think there is an issue with 64bit Oracle.DataAccess library. I search on other blogs and forums everyone is pointing to the
IIS Pool configuration and Assembly ( target framework ). but in my case nothing worked.But anyhow if we have to downgrade our solution with 32 bit then why not use the stable version of 32 bit itself :)

Please share if anyone has different finding...

No comments: