0

我从虚拟机运行 Search Server 2010,到目前为止它运行良好。在我的开发机器(win xp 32bit)上,想法是使用 Web 服务查询搜索服务器。问题是当我尝试启动该站点时,出现以下错误:

Could not load file or assembly 'Microsoft.Office.Server.Search' 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.Office.Server.Search' or one of its dependencies. An attempt was made to load a program with an incorrect format.

安装 Search Server 后,我从虚拟服务器复制了 dll 文件。将其添加为参考,并将其添加到 bin-catalog 中。编译没有错误。该站点不是共享点站点,而是 EPiServer 站点。

非常感谢任何帮助。

/马蒂亚斯

4

1 回答 1

0

显然,添加引用的正确方法是通过 WEB 引用...

于 2010-02-11T14:37:37.287 回答