Daily Snippet

64 Bit ASP.NET Project – Attempt to load Oracle client libraries threw BadImageFormatException.

I’m using System.Data.OracleClient, and always get this error after install on new fresh server 64 bit.

And this how I do it to resolve:

1. Make sure your console/winform app works.

2. The resolve is just restart your PC after set 32-bit enabled on your IIS Application Pool.

Really just that restart. I try so hard that I have to copy Oracle Client dll to my \bin, but it’s not work.

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s