Could not load file or assembly or one of its dependencies

“Could not load file or assembly or one of its dependencies”. You come across this error message a lot if you are .net developer.

Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.

could not load file or assembly

Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format

There are two solution’s for this problem

1 – Make sure you are referencing the correct dll and its there.

2 – if the above solution doesn’t work, You need to enable 32 bit application in your IIS application pool. Attached is the screen shot of where you’ll get that configuration.

Application Pool Advance Settings

Application Pool Advance Settings

Enable 32-bit Applications

Enable 32-bit Applications

  • shaunk4life

    WDrN – The Last years i have been so low on $$ and debts were killing me from all sides!! that was Until i decided to make money.. on the INTERNET! I went to surveymoneymaker point net, and started doing surveys for money, and doing so i’ve been really more able to get around financialy! I’m so glad, that I did this! – uZoj