本文介绍了cscfg和csdef不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务配置文件中添加了如下访问控制列表

I have added access control list as below in service configuration file

< AccessControls>
      < AccessControl名称="ipRestrictions">
        <规则动作=许可"; description ="allowed-edu" order ="100" remoteSubnet ="137.116.133.111/32". />
        <规则动作=许可"; description =允许测试" order ="101" remoteSubnet ="168.61.66.2/32"; />
        <规则动作=许可"; description ="allowed-prod" order ="102" remoteSubnet ="168.61.66.131/32"; />
        <规则动作=否定". description =其他" order ="800" remoteSubnet ="0.0.0.0/0&"; />
      </AccessControl>
    </AccessControls>
    < EndpointAcls>
      < EndpointAcl role ="MyWebRole"; endPoint ="Endpoint1" accessControl ="ipRestrictions"; />
      < EndpointAcl角色="MyWebRole"; endPoint =" HttpsIn" accessControl ="ipRestrictions"; />
    </EndpointAcls>

<AccessControls >
      <AccessControl name="ipRestrictions">
        <Rule action="permit" description="allowed-edu" order="100" remoteSubnet="137.116.133.111/32" />
        <Rule action="permit" description="allowed-test" order="101" remoteSubnet="168.61.66.2/32" />
        <Rule action="permit" description="allowed-prod" order="102" remoteSubnet="168.61.66.131/32" />
        <Rule action="deny" description="Others" order="800" remoteSubnet="0.0.0.0/0" />
      </AccessControl>
    </AccessControls>
    <EndpointAcls>
      <EndpointAcl role="MyWebRole" endPoint="Endpoint1" accessControl="ipRestrictions" />
      <EndpointAcl role="MyWebRole" endPoint="HttpsIn" accessControl="ipRestrictions" />
    </EndpointAcls>

添加以上所有行后,我正在获取cscfg和csdef不匹配运行时错误.模拟器启动时.

after adding all above lines,  i am getting cscfg and csdef do not match runtime error. while emulator starts. 

请帮助我解决这个问题

推荐答案

https://stackoverflow .com/questions/10989779/windows-azure-tools-for-visual-studio-csdef-and-cscfg-do-not-match

此外,如果您注释掉所做的更改,还会出现相同的错误吗? 

Also, if you comment out the changes you made do you still get the same error? 


这篇关于cscfg和csdef不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-21 12:13