当我在VS中发布时,会出现“发布失败”的消息。
输出如下:
开始将应用程序/包Web Deploy发布到 https:// -myStite-... D:\VisualStudio\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.targets(4292,5): 错误 : Web deployment task failed. ((30/10/2017 08:19:07) An error occurred when the request was processed on the remote computer.) (30/10/2017 08:19:07) 远程计算机处理请求时发生错误。 Value cannot be null. at System.Version.Parse(String input) at System.Version..ctor(String version) at Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.get_MaximumSupportedVersion() at Microsoft.Web.Deployment.DeploymentAgent.HandleClientServerVersionMismatch(DeploymentAgentWorkerRequest workerRequest) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData) 发布未能成功部署。
========= 构建: 成功 1,失败 0,最新 0,跳过 0 ========= ========= 发布: 成功 0,失败 1,最新 0,跳过 0 ==========
在服务器的事件查看器中,出现以下异常:
用户:-我的用户- 客户端 IP:10.0.0.138 内容类型: 版本:9.0.0.0 MSDeploy.VersionMin: MSDeploy.VersionMax: MSDeploy.Method: MSDeploy.RequestId: MSDeploy.RequestCulture: MSDeploy.RequestUICulture: ServerVersion:9.0.1955.0 传播到客户端的跟踪部署代理异常。请求 ID“”。请求时间戳:“30/10/2017 08:02:11”。错误详细信息: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Version.Parse(String input) at System.Version..ctor(String version) at Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.get_MaximumSupportedVersion() at Microsoft.Web.Deployment.DeploymentAgent.HandleClientServerVersionMismatch(DeploymentAgentWorkerRequest workerRequest) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)
过去它曾经非常好用(相同的保存配置),但现在有时会失败。
输出如下:
开始将应用程序/包Web Deploy发布到 https:// -myStite-... D:\VisualStudio\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.targets(4292,5): 错误 : Web deployment task failed. ((30/10/2017 08:19:07) An error occurred when the request was processed on the remote computer.) (30/10/2017 08:19:07) 远程计算机处理请求时发生错误。 Value cannot be null. at System.Version.Parse(String input) at System.Version..ctor(String version) at Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.get_MaximumSupportedVersion() at Microsoft.Web.Deployment.DeploymentAgent.HandleClientServerVersionMismatch(DeploymentAgentWorkerRequest workerRequest) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData) 发布未能成功部署。
========= 构建: 成功 1,失败 0,最新 0,跳过 0 ========= ========= 发布: 成功 0,失败 1,最新 0,跳过 0 ==========
在服务器的事件查看器中,出现以下异常:
用户:-我的用户- 客户端 IP:10.0.0.138 内容类型: 版本:9.0.0.0 MSDeploy.VersionMin: MSDeploy.VersionMax: MSDeploy.Method: MSDeploy.RequestId: MSDeploy.RequestCulture: MSDeploy.RequestUICulture: ServerVersion:9.0.1955.0 传播到客户端的跟踪部署代理异常。请求 ID“”。请求时间戳:“30/10/2017 08:02:11”。错误详细信息: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Version.Parse(String input) at System.Version..ctor(String version) at Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.get_MaximumSupportedVersion() at Microsoft.Web.Deployment.DeploymentAgent.HandleClientServerVersionMismatch(DeploymentAgentWorkerRequest workerRequest) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData) at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)
过去它曾经非常好用(相同的保存配置),但现在有时会失败。