部署步骤“回收IIS应用程序池”中出错:任务已取消。 [英] Error occurred in deployment step 'Recycle IIS Application Pool': A task was cancelled.
问题描述
亲爱的,
Dear All,
我想搜索有关Visual Studio 2013部署解决方案的此问题的帮助 到Sharepoint 2013.
I would like to search for your help on this issue regarding deploy solution from Visual Studio 2013 to Sharepoint 2013.
以前,我能够将解决方案从Visual Studio 2013成功直接部署到Sharepoint 2013.
Previously, I am able to direct deploy the solution successfully from Visual Studio 2013 to Sharepoint 2013.
但是,这几天我遇到了错误消息"部署步骤中出现错误'回收IIS应用程序池':任务被取消了。 "当我尝试将解决方案部署到SharePoint时。我没有更改Visual
Studio和SharePoint中的任何设置。
However, these few days I have encountered the error message "Error occurred in deployment step 'Recycle IIS Application Pool': A task was canceled. " when I try to deploy the solution to SharePoint. I didn't change any setting in Visual Studio and SharePoint.
目前,我只能使用Sharepoint 2013 Management Shell编写命令并将解决方案部署到我的SharePoint。如果我使用Sharepoint 2013 Management Shell来部署解决方案,它的工作正常。
$
Currently, I just able to use Sharepoint 2013 Management Shell to write command and deploy the solution to my SharePoint. It's working fine if I am using the Sharepoint 2013 Management Shell to deploy the solution.
不幸的是,由于无法从Visual Studio 2013部署解决方案,我无法调试我的编码 到Sharepoint 2013.我怀疑我的服务器在我尝试部署解决方案时取消了我的任务,但我不知道我的服务器发生了什么,因为我没有改变任何东西。
Unfortunately, I cannot debug my coding due to cannot deploy the solution from Visual Studio 2013 to Sharepoint 2013. I am suspect that my server has canceled my task when I try to deploy the solution, but I don't know what happened to
my server since I didn't change anything.
感谢是否有人可以在这个问题上提供帮助。
Appreciate if anyone can help on this issue.
非常感谢你很多。
Thank you very much.
最好的问候,
Best Regards,
< g class =" gr_ gr_22 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace"数据-GR-ID =" 22" id =" 22"> Lisalau< / g>
<g class="gr_ gr_22 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="22" id="22">Lisalau</g>
推荐答案
您好,
请尝试按以下步骤操作:
Please try to do as follows:
1。以管理员身份运行Visual Studio。
1. Run Visual Studio as administrator.
2。确保当前用户是服务器场管理员。
2. Make sure the current user is a farm administrator.
3。删除当前用户的用户个人资料。
3. Deleting the user profile of current user.
4。重新启动Visual Studio。
4. Restart Visual Studio.
5。运行IISRESET。
5. Run IISRESET.
6。重新启动服务器。
6. Restart Server.
最好的问候,
Dennis
这篇关于部署步骤“回收IIS应用程序池”中出错:任务已取消。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!