【问题标题】:Visual Studio 2015 stops working when publishing an Azure WebJob发布 Azure WebJob 时,Visual Studio 2015 停止工作
【发布时间】:2017-07-27 17:28:59
【问题描述】:

从 Visual Studio 2015 将 webjobs 发布到 Azure 时,我在事件查看器上收到以下错误条目。虽然 webjob 已发布,但由于错误,我必须重新打开解决方案:

来自源应用程序的事件 ID 0 的描述不能是 成立。引发此事件的组件未安装在 您的本地计算机或安装已损坏。你可以安装 或修复本地计算机上的组件。

如果事件源自另一台计算机,则显示信息 必须与事件一起保存。

活动中包含以下信息:

错误处理程序异常:System.ServiceModel.CommunicationException: 从管道读取错误:管道已结束。 (109, 0x6d)。 ---> System.IO.IOException:读取操作失败, 见内部异常。 ---> System.ServiceModel.CommunicationException: 从管道读取错误:管道已结束。 (109, 0x6d)。 ---> System.IO.PipeException:读取错误 从管道:管道已结束。 (109, 0x6d)。在 System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(布尔 haveResult, Int32 error, Int32 numBytes) --- 内部异常结束 堆栈跟踪 --- 在 System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult 结果)
在 System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult) 在 System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) --- 内部异常堆栈跟踪结束 --- 在 System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult) 在 System.ServiceModel.Channels.StreamConnection.EndRead() --- 结束 内部异常堆栈跟踪 --- 在 System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult 结果)
在 System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult 结果,消息和消息)在 System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult 结果,RequestContext&requestContext) 在 System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult 结果,RequestContext& requestContext) \r\n at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult 结果)
在 System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult 结果,消息和消息)在 System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult 结果,RequestContext&requestContext) 在 System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult 结果,RequestContext&requestContext)

消息资源存在,但在 字符串/消息表

【问题讨论】:

  • 重装重装重装。
  • 根据您的描述,我们找不到造成这种情况的原因。您是否为 Visual Studio 安装了 azure SDK?如果你安装了,是哪个版本?我建议你可以尝试将 azure SDK 更新到最新版本并再次测试。
  • 谢谢您,我会尝试并告诉您。
  • 是的,更新 SDK 是解决方案,感谢@BrandoZhang。如果您想发表评论,我会将其标记为答案。

标签: azure visual-studio-2015 azure-webjobs


【解决方案1】:

根据您的描述,我建议您可以尝试确保您已经安装了最新的 azure SDK for the visual studio。

您可以按照link 下载SDK 并安装它,也可以使用Microsoft Web Platform Installer 更新SDK。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-03-08
    • 2023-03-22
    • 2016-01-03
    • 2016-05-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-18
    相关资源
    最近更新 更多