gpt4 book ai didi

asp.net - 在本地环境中调试 Windows azure 项目时出现 System.ServiceModel.Channels.ServiceChannel 错误

转载 作者:行者123 更新时间:2023-12-02 13:31:46 24 4
gpt4 key购买 nike

我最近从 windows azure sdk 1.5 更新到 1.6。我能够使用 sdk 1.5 在我的系统中调试 azure 项目。但更新后我什至无法再调试新创建的 azure 项目。 Visual Studio 抛出错误“通信对象 System.ServiceModel.Channels.ServiceChannel 无法用于通信,因为它处于故障状态。有关详细信息,请参阅输出窗口。”

以下是我的输出窗口中的文本:

服务器跟踪:

at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.System.IDisposable.Dispose()

Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at System.IDisposable.Dispose() at Microsoft.ServiceHosting.Tools.DevelopmentFabric.FabricClient.AddServiceDeployment(String tenantName, ServiceModelDefinition serviceModelDefinition, String instanceDescriptionPath, ServiceDeploymentOptions options)

我能够创建包,并且包在实时部署中正常工作。我已经检查了 web.config 仅准备就绪。它是可写的。

最佳答案

我找到了解决办法:删除以下路径(在您的开发计算机上)中存在的文件的“只读”属性。这将解决问题并使您能够在 Debug模式下运行应用程序。

%LocalAppData%\dftmp\IISConfigurator1.6.0.0 文件夹

注意:IISConfigurator 文件夹名称可能会根据您正在使用的 Windows Azure SDK 版本而更改。

编辑:您可以find details from microsoft support engineer

关于asp.net - 在本地环境中调试 Windows azure 项目时出现 System.ServiceModel.Channels.ServiceChannel 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9836020/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com