C# 将Azure MVC教程项目部署到本地运行时时System.ServiceModel.FaultException1

C# 将Azure MVC教程项目部署到本地运行时时System.ServiceModel.FaultException1,c#,model-view-controller,azure,C#,Model View Controller,Azure,我正试图从微软的Azure MVC教程中了解到这一点: 当我进入“让您的应用程序准备部署到WINDOWS AZURE Visual Studio 2010”部分下的第7步时,该部分将挂起,并给出以下失败日志: System.ServiceModel.FaultException`1 was unhandled Message=This access control list is not in canonical form and therefore cannot be modified.

我正试图从微软的Azure MVC教程中了解到这一点:

当我进入“让您的应用程序准备部署到WINDOWS AZURE Visual Studio 2010”部分下的第7步时,该部分将挂起,并给出以下失败日志:

System.ServiceModel.FaultException`1 was unhandled
  Message=This access control list is not in canonical form and therefore cannot be modified.
  Source=mscorlib
  Action=http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher/fault
  StackTrace:
    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    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 IConfigurator.Deploy(String roleId, WebAppModel webAppModelPath, String roleRootDirectory, String sitesDestinationRootDirectory, String diagnosticsRootDirectory, String roleGuid, Dictionary`2 globalEnvironment)
       at Microsoft.WindowsAzure.Hosts.WaIISHost.Program.Main(String[] args)
  InnerException: 
有人知道什么是错误的吗?我怀疑第6部分中输入的配置字符串。可能是错的,这个:

<add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet_ToDoListApp;Integrated Security=True;MultipleActiveResultSets=True"
      providerName="System.Data.SqlClient" />

这位于Web.config文件中,但我不确定这一点。

因此,多亏了这篇文章,我最终找到了答案: 这篇文章: 邮局

基本上,我从项目Azure包中的ServiceDefinition.csdef中删除了标记,并禁用了一些调试选项。奇怪的是,当教程没有提到这一点时,项目的默认配置无法生成