Commerce Server x64 [英] Commerce Server x64

查看:68
本文介绍了Commerce Server x64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Server 2008 R2 x64机器上安装了CS2009。为了让我的网站运行,我不得不更改网站的应用程序池以允许32位应用程序。如果我没有这个设置,我会收到此错误:


 



< h2> 无法加载文件或程序集"Microsoft.CommerceServer.Internal.ContentListHelper"或其依赖项之一。尝试加载格式不正确的程序。
描述:执行期间发生未处理的异常当前的网络请求。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。


$
异常详细信息: System.BadImageFormatException:无法加载文件或程序集'Microsoft.CommerceServer.Internal.ContentListHelper'或其中一个依赖项。尝试加载格式不正确的程序。


 


这是否意味着该程序集不是64位?我是否无意中安装了x86版本?我在哪里可以找到x64版本?


 


谢谢

解决方案

Scott,


添加对Microsoft.CommerceServer.Runtime的引用时 副本Microsoft.CommerceServer.Internal.ContentListHelper(x86)放在输出目录中并导致运行时错误。 由于Microsoft.CommerceServer.Internal.ContentListHelper
在GAC中,因此不应将其复制到输出目录。该解决方案明确地设置"复制本地"和"复制本地"。为false。


或检查bin文件夹中是否存在Microsoft.CommerceServer.Internal.ContentListHelper 程序集。如果是,则从bin


文件夹中删除它,因为它是错误的版本。 GAC中有正确的64位版本。


希望这会有所帮助。


关心,

-Ravi Kanth Koppala


I've installed CS2009 on a Server 2008 R2 x64 machine. In order to get my site to run, I had to change the website's application pool to allow 32bit applications. If I don't have this setting, I get this error:

 

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.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: 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.

 

Does that mean that that assembly is not 64-bit? Did I unintentionally install x86 version? Where would I find the x64 version?

 

Thanks

解决方案

Scott,

When adding a reference to Microsoft.CommerceServer.Runtime a copy of  Microsoft.CommerceServer.Internal.ContentListHelper (x86) is placed in the output directory and causes a runtime error.  Since Microsoft.CommerceServer.Internal.ContentListHelper is in the GAC it should not be copied to the output directory. The solution is explictly setting "Copy Local" to false.

or Check if Microsoft.CommerceServer.Internal.ContentListHelper assembly present in bin folder. If yes, deleted it from bin
folder as it is the wrong version. The correct 64 bit version is in the GAC.

Hope this helps.

Regards,
-Ravi Kanth Koppala


这篇关于Commerce Server x64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆