在 ASP.Net 或者 ASP.Net MVC中使用TFS SDK 的注意事項之二

  • 633
  • 0

摘要:在 ASP.Net 或者 ASP.Net MVC中使用TFS SDK 的注意事項之二

如果使用TFS SDK的ASP.Net 或者 ASP.Net MVC中佈署到 IIS 上後發現以下錯誤:

 

Sharepoint error: The Module DLL 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\isapi\spnativerequestmodule.dll'

could not be loaded due to a configuration problem.

 

 

主要原因是IIS上已安裝Sharepoint 後導致其他所有網站預設都會啟用此組件

但此組件只支援x64模式 無法與TFS SDK的ASP.Net 或者 ASP.Net MVC使用的x86模式同時執行

解決方式為修改spnativerequestmodule.dll的啟動條件為X64模式 請參考下面網址:

 

http://bartwullems.blogspot.tw/2013/08/sharepoint-error-module-dll-filescommon.html

 

風來疏竹,風過而竹不留聲;雁度寒潭,雁去而潭不留影。故君子事來而心始現,事去而心隨空。