问题描述
我正在尝试将wsp文件从开发部署到测试框。我正在使用以下命令在测试时部署解决方案。
I am trying to deploy wsp file from development to Testing box. I am using following command to deploy the solution on testing .
Add-SPSolution -LiteralPath C:\ Temp\Mysolution.wsp
Add-SPSolution -LiteralPath C:\Temp\Mysolution.wsp
然后  ;
Install-SPSolution -Identity 6b2ca507-8ce0-4af3-ab77-cd469d430de9 -WebApplication http:// MYSPWEBAPP -GACDeployment
Install-SPSolution -Identity 6b2ca507-8ce0-4af3-ab77-cd469d430de9 -WebApplication http://MYSPWEBAPP -GACDeployment
但是中央管理是仍然显示状态为"未部署"经过多次尝试。
however Central administration is still showing status as "Not Deployed" after several attempts.
我在所有方框上重新启动了SP管理服务和定时服务,也重新启动了服务器。
I restarted SP administration service and Timer service on all boxes, rebooted the server as well.
你能不能请我,为什么会这样?
Could you please hep me , why it is happening?
直到昨天我才能部署解决方案。
Till yesterday I was able to deploy the solution.
谢谢 提前。
Thanks in advance.
问候,
Azra
推荐答案
请确保您的功能范围是全局的吗?
Pls make sure that if your feature scope is global?
我想您可以尝试以下方法:
I think you can try below:
Install-SPSolution -Identity 6b2ca507-8ce0-4af3-ab77-cd469d430de9 -GACDeployment -Force
或
Install-SPSolution -Identity 6b2ca507-8ce0-4af3-ab77-cd469d430de9 -WebApplication http://MYSPWEBAPP -GACDeployment -Force
您还可以在CA中使用UI部署解决方案。
And you can also deploy the solution with UI in CA.
这篇关于SharePoint解决方案状态安装后未部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!