我有一個Web應用程序,其中包含少量文檔庫,列表,圖片庫,工作流和少量Web部件。 Web部件是使用visual studio與特徵網站範圍創建的。 WorkFlows是使用SPD創建的。 Everywhere在我的本地SharePoint服務器上正常工作。我想將我的Web應用程序複製到不同的服務器。爲此我保存了網站模板網站Actions-> Save Site as template
,將wsp保存到我的桌面。然後我把wsp帶到了另一臺服務器上,我創建了一個webapplication。部署SharePoint 2010網站模板時出錯
然後使用PowerShell命令添加使用Add-SPSolution命令的解決方案。當嘗試使用安裝-SPSolution命令安裝我得到了一個錯誤:
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application
我試圖改變的WebPart功能與Web/WebApplication的範圍,但遇到錯誤時嘗試使用Visual Studio的部署。
如何在不同的SharePoint Server計算機上部署wsp?