在本地环境中调试windows azure项目时System.ServiceModel.Channels.ServiceChannel出错

Ruc*_*ami 4 asp.net azure visual-studio-2010

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

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

服务器跟踪:

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

在[0]处重新抛出异常:位于System.IDisposable处的System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&msgData,Int32类型)的System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg). Dispose()在Microsoft.ServiceHosting.Tools.DevelopmentFabric.FabricClient.AddServiceDeployment(String tenantName,ServiceModelDefinition serviceModelDefinition,String instanceDescriptionPath,ServiceDeploymentOptions options)

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

Ruc*_*ami 6

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

%LocalAppData%\dftmp\IISConfigurator1.6.0.0

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

编辑:您可以 从Microsoft支持工程师中找到详细信息