项目部署到正式环境时,原来引用web service,在web.config中的节点,出现无法识别的配置节点<applicationSettings>的问题 

ApplicationSetting 节点的内容:

 

 

  <applicationSettings>
    <Oceansoft.Net.DwzWeb.Properties.Settings>
      <setting name="Oceansoft_Net_DwzWeb_WGService_CheckMonitorService"
        serializeAs="String">
        <value>http://192.168.76.76:8888/CheckMonitor</value>
      </setting>
    </Oceansoft.Net.DwzWeb.Properties.Settings>
  </applicationSettings>


添加如下代码到 <configSections> 节点中

<configSections>
  <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <section name="Oceansoft.Net.DwzWeb.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </sectionGroup>
</configSections>

 

posted on 2015-07-29 22:18  ~向阳花~  阅读(446)  评论(0编辑  收藏  举报