【发布时间】:2012-03-07 22:32:24
【问题描述】:
当我尝试使用 VS 2010 调试 Windows Azure 应用程序时,出现以下错误对话框,标题为 Windows Azure Storage Emulator:
The 'system.serviceModel/services' configuration section cannot be created. The machine.config file is missing information. Verify that this configuration section is properly registered and that you have correctly spelled the section name. For Windows Communication Foundation sections, run ServiceModelReg.exe -i to fix this error.
我立即收到存储模拟器已停止工作的通知。
附加调试器会显示以下信息:
An unhandled exception ('System.Configuration.ConfigurationerrorsException') occured in DSService.exe [7000].
我以管理员身份运行 Visual Studio。之前尝试过DSInit,数据库创建成功,但并没有解决问题。
有什么建议吗?
编辑:SQLEXPRESS 正在运行,我禁用了 SQLSERVER 实例以只留下 SQLEXPRESS,但问题是一样的。也许某处有某种配置可以告诉 Azure 模拟器使用哪个服务器?
这个问题看起来很像How to fix error running storage emulator for Azure in VS 2010?。当我在 DSIinit 中使用不正确的服务器名称时,我遇到了同样的错误,但它不适用于我的情况。
【问题讨论】:
-
到目前为止的结论是我的操作系统出了点问题,因为重新安装各种组件(IIS、SQL、.NET)没有帮助。决定改为在虚拟机上进行开发 - 效果很好。
标签: azure