I upgraded from VS2008 to vs2010. I converted my web project to vs2010.
I built my solution and was able to run it locally on my developmenet machine (32 bit). I publish it to my web server (Windows Server 2003 R2 Enterprise x 64 Edition). Then I got an error message that said -
Could not load file or assembly 'interop.adodb' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I rebuilt my solution changing the target platform to x86. The error is then replaced with
Could not load file or assembly 'ProjectName'or one of its dependencies. An attempt was made to load a program with an incorrect format.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
It worked when it was 2.0 and it wouldn't use the framework64 folder but just framework.
How do I force my server to run a 32 bit application since I'm assuming I must have other 32 bit dlls resulting in the same error as the interop issue.
View Complete Post