我为Sharepoint做了很多项目,所有项目都运行良好,而不是一个。该项目只能由我们团队的一名开发人员部署,所有其他开发人员在尝试部署该解决方案时都会遇到异常(构建该解决方案)。 (通过项目,人民币在VS)
错误消息是:
Error 1 Error occurred in deployment step 'Retract Solution':
A communication error has occurred while invoking commands in SharePoint host process:
The communication object, System.ServiceModel.Channels.ServiceChannel,
cannot be used for communication because it is in the Faulted state.
我在VS中启用了日志记录,但没有找到任何有趣的内容。从/ safemode开始也没有帮助。在部署之前,我还删除了suo文件和所有bin,obj和pkg文件夹。
知道出了什么问题吗?
(我确实看到“部署Sharepoint 2010 Webpart崩溃Visual Studio”主题,但这是不同的事情)
答案 0 :(得分:0)
再次iisreset并重新部署项目。应用程序池可能会停止,有时会导致此类错误。