我已經編寫了一個使用ServiceStack從我的SharePoint文檔庫中檢索文檔的API,並且使用MVC輸出結果。ServiceStack.Factor在其模塊列表中有一個錯誤的模塊「ManagedPipelineHandler」
然而,當我嘗試運行我的應用我收到一個HTTP錯誤:
500.21 ServiceStack.Factor has a bad module "ManagedPipelineHandler" in its module list error
我正在我在IIS經典模式的應用程序,因爲我需要使用模擬與我的SharePoint服務器進行身份驗證。
在經典模式下使用ServiceStack似乎有困難。
如何解決此錯誤?
我希望這是有道理的。
任何幫助將不勝感激
這裏是我的配置:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add path="*" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="classicMode" resourceType="Unspecified" allowPathInfo="true" />
</handlers>
</system.webServer>
更新:
運行我的應用我的開發機器上的其他用戶正常工作的問題似乎是一個IIS和ASP.NET開發服務器之間的區別
對此有何想法? – 2013-02-26 16:15:43
我也試過這個帖子中的建議 - http://stackoverflow.com/questions/13030418/servicestack-with-iis-7-5但沒有運氣。 – 2013-02-28 10:16:17