Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Could not load file or assembly – Resolved

leave a comment »

There is problem while using one SQLite assembly in .NET application. It works on my desktop but could not work on the laptop. I have tried lot of things but could not resolved the same. It always gives me “Could not load file or assembly” error every time.

At last found that on my lappy, there is 64 bit version installed and desktop is having 32 bit version. I was trying to use 32 bit dll on the project on 64 bit machine and compiling the project with AnyCPU option. That gives me error. Just setup project compilation for 32 bit and it works fine.

Keep Smiling 🙂

image

Advertisements

Written by Manish

April 13, 2010 at 10:37 pm

Posted in .NET

Tagged with , , , ,

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

%d bloggers like this: