1

运行 web deploy 时出现以下错误:

>C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.
((3/25/2011 4:41:36 PM) An error occurred when the request was processed on the remote computer.)  
(3/25/2011 4:41:36 PM) An error occurred when the request was processed on the remote computer. The entry type 'Unknown' was not expected at this time. The serialization stream may be corrupted.

我已经在其他IIS6机器上成功地做到了这一点,没有任何问题,所以我不明白发生了什么。远程部署服务正在运行,只是为了看看它是否重要,我在管理组下启动了该服务。那没有帮助。

任何帮助都会很棒。

4

1 回答 1

1

我发现带有 IIS 7 的 2008 服务器没有安装所有组件。尽管 Web 平台安装程序似乎已安装了 Web Deployment 2.0,但由于与 MS 服务器的通信问题,有些组件不完整。为了解决这个问题,我不得不在另一台机器上下载安装文件,将它们复制到服务器上,然后重新安装所有东西。对于这样一个奇怪的问题,错误非常模糊。

于 2011-06-27T17:04:50.783 回答