部署步骤“激活功能”中出错:在SharePoint主机进程中调用命令时发生超时 [英] Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process
问题描述
大家好,
每次尝试使用Visual Studio 2017调试和部署SharePoint应用程序时,都会收到错误消息。我收到的错误消息是"部署步骤中出错"激活功能':在SharePoint
主机进程中调用命令时发生超时。"
SharePoint环境是单个服务器,即SharePoint 2016开发环境。这是一个不高规格的环境。有没有办法阻止我的应用程序退出?
我希望你能提供帮助。
Colin
尝试通过更新下面的注册表项来增加Visual Studio等待SharePoint命令执行的时间。(根据您的版本,数字可能会有所不同。)
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio \14.0 \ SharePointTools]
以下是一些供您参考的链接。
https://msdn.microsoft.com/en -us / library / ee471440(v = vs.120).aspx
最好的问候,
利跨度>
Hi All,
Every time I try to debug and deploy a SharePoint App using Visual Studio 2017 I keep getting an error message. The error message I get is "Error occurred in deployment step 'Activate Features': A timeout has occurred while invoking commands in SharePoint host process."
The SharePoint environment is a single server, SharePoint 2016, development environment. It is a not high spec environment. Is there a way I can stop my app from Timing out?
I hope you can help.
Colin
Hi,
Try to increase the time which Visual Studio waits for a SharePoint command to execute by updating below registry key.(the number may different based on your version.)
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\SharePointTools]
Here are some links for your reference.
https://msdn.microsoft.com/en-us/library/ee471440(v=vs.120).aspx
Best Regards,
Lee
这篇关于部署步骤“激活功能”中出错:在SharePoint主机进程中调用命令时发生超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!