We are attempting to deploy our application to a server running Windows
Server 2003 R2 64 bit and Commerce Server 64bit.

When we try to access the site, we are presented with the following
error message:

"Could not load file or assembly
'Microsoft.CommerceServer.Internal.ContentListHelper' or one of its
dependencies. An attempt was made to load a program with an incorrect
format."

Commerce Server installed to the following locations:

"C:\Program Files\Microsoft Commerce Server 2007"
"C:\Program Files (x86)\Microsoft Commerce Server 2007"


The following system variables are set on the server:

COMMERCE_SERVER_ROOT = "C:\Program Files (x86)\Microsoft Commerce
Server 2007\"
COMMERCE_SERVER_ROOT_64 = "C:\Program Files\Microsoft Commerce
Server 2007\"


The assembly load trace is as follows:

=== Pre-bind state information ===
LOG: User = BPDEV\RunTimeUser
LOG: DisplayName = Microsoft.CommerceServer.Internal.ContentListHelper
(Partial)
LOG: Appbase = file:///d:/inetpub/wwwroot/OnlineShop/
LOG: Initial PrivatePath = d:\inetpub\wwwroot\OnlineShop\bin
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: Using application configuration file:
d:\inetpub\wwwroot\OnlineShop\web.config
LOG: Using host configuration file:
\\?\C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/Temporary
ASP.NET
Files/Onlineshop/b4680046/455b1f81/Microsoft.CommerceServer.Internal.ContentListHelper.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/Temporary
ASP.NET
Files/Onlineshop/b4680046/455b1f81/Microsoft.CommerceServer.Internal.ContentListHelper/Microsoft.CommerceServer.Internal.ContentListHelper.DLL.
LOG: Attempting download of new URL
file:///d:/inetpub/wwwroot/OnlineShop/bin/Microsoft.CommerceServer.Internal.ContentListHelper.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
terminated.



We are unsure whether the problem relates to specifically deploying
into a 64 bit environment or whether the cause of the problem is
something more general.
Also, do the assemblies for our site code need to be compiled with
specific configuration settings to run in a 64 bit environment?


Any help would be greatly appreciated.
Thanks in advance





Chris