I have developed a Windows Forms application using .Net Remoting and am installing it as a ClickOnce application hosted in IIS on a Windows 2008 R2 VPS 64bits Server which belongs to one of my customers.
My remote object is contained in a 32-bits DLL called LC.AplRemoting.dll
When I try to run the application, I get the following error:
System.BadImageFormatException: Could not load file or assembly 'LC.AplRemoting, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'LC.AplRemoting, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'
and if I look at the error details I see the following (extracted from the error details:
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTEM
LOG: DisplayName = LC.AplRemoting, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null
LOG: Appbase = file:///C:/inetpub/wwwroot/MuckyDuck/Faster/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\MuckyDuck\Faster\bin
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\MuckyDuck\Faster\web.config<
View Complete Post