晕~毁了!

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>
    <client>
      <endpoint address="http://localhost:5566/VictorService" binding="basicHttpBinding" contract="Victor.WCFService.Contract.IVictor"/>
    </client>
  </system.serviceModel>
</configuration>

配置文件为什么要严格区分大小写!
害我DEBUG了1天的,伤啊!!
就因为把
<system.ServiceModel>
</system.ServiceModel>
"S"写成了大写!!!
posted @ 2008-02-28 17:20  IamV  阅读(236)  评论(0编辑  收藏  举报