通过Visual Studio 2017&部署1个应用程序时2015年我们的一个开发人员正在服务器事件日志中收到以下异常。
没有其他开发人员获得此异常,并且似乎开发人员尝试部署的所有应用都会发生这种情况。
这是日志在服务器上说的内容......
The description for Event ID 1 from source Web Deploy cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
User: S0000878\WROW
Client IP: 10.100.177.100:80
Content-Type: application/msdeploy
Version: 9.0.0.0
MSDeploy.VersionMin: 7.1.600.0
MSDeploy.VersionMax: 9.0.1972.0
MSDeploy.Method: Sync
MSDeploy.RequestId: 94589097-54ba-4753-a37b-32571bfe6b8f
MSDeploy.RequestCulture: en-GB
MSDeploy.RequestUICulture: en-GB
ServerVersion: 9.0.1962.0
Skip: objectName="^configProtectedData$"
Provider: auto, Path:
A tracing deployment agent exception occurred that was propagated to the client. Request ID '94589097-54ba-4753-a37b-32571bfe6b8f'. Request Timestamp: '16/05/2017 10:26:59'. Error Details:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt16()
at Microsoft.Web.Deployment.PackageDeserializer.GetNextEntryType()
at Microsoft.Web.Deployment.SerializationProvider..ctor(DeploymentBaseContext baseContext, PackageDeserializer deserializer)
at Microsoft.Web.Deployment.PackageDeserializer.GetSerializationProvider()
at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentAsyncData asyncData, Nullable`1 passId, String user, String siteName)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)
我感到茫然,因为部署过程适用于所有其他开发机器和我们的构建盒,但它只是抱怨的服务器。
我应该在开发者机器上寻找什么可能有助于指出真正的问题?
答案 0 :(得分:2)
似乎问题是由开发人员计算机上的代理设置引起的。
这类问题可能是由像Fiddler这样的工具引起的(开发人员经常使用它来调试对Web服务的API调用)。
开发人员似乎已经通过在此实例中修复VS来修复它,这表明VS安装也存在问题。
答案 1 :(得分:0)
就我而言,问题是由我们环境中的安全软件引起的。但是,在研究此问题时,我注意到Web Deploy正常工作还需要这些:
来源:Web Deploy experienced a connection problem (ERROR_CONNECTION_TERMINATED)