Question: Any thoughts on what might be causing this exception?

I have a webservice proj, when i load the link i get

> 
> Could not load file or assembly 'Interop.DIB' or one of its dependencies. An attempt was made to load a program with an incorrect format.  
> 
>  Exception Details: System.BadImageFormatException: Could not load file or assembly 'Interop.DIB' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> 
> 
> 

Inner exceptions:

> 
> [BadImageFormatException: Could not load file or assembly 'Interop.DIB' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
> 
> 
> [ConfigurationErrorsException: Could not load file or assembly 'Interop.DIB' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
> 
> 
> [HttpException (0x80004005): Could not load file or assembly 'Interop.DIB' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
> 
> 
> 

Version Information:  

Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Answer: 
If I had to take a guess, it is either a) not finding the interoped assembly or b) the COM DLL is not registered in the local registry. Simply copying DIB to the /bin folder is not enough when you are monkeying with COM.

I believe (B) is the most likely answer to what is happening.
What worked for me was to add the assembly to GAC. To do that I ran **gacutil -i PATH\_TO\_ASSEMBLY** from Visual Studio Command Prompt