2011-12-14 46 views
1

背景:引用從非SP MVC3項目在同一臺服務器上運行一個SharePoint 2007項目(DLL)

我建立在C#MVC3項目,調出一個SharePoint項目要求的數據。這兩個項目都將位於同一臺服務器上,但位於不同的應用程序池中。

問題:

增加SP必要的引用後,我可以讓我的MVC項目,以建立正確;然而,當我調試,我得到這個錯誤:

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

我已經提到的「Microsoft.SharePoint.Search」 DLL,但仍沒有運氣。

任何想法?非常感謝!

回答

0

您是否嘗試過在SP dll上「複製本地」。 這兩個應用程序池是否具有完全相同的設置? .Net版本,64/32位?

相關問題