Unrecognized configuration node when referencing a Web service applicationsettings
Last Update:2015-07-29
Source: Internet
Author: User
<span id="Label3"></p><p><p>When a project is deployed to a formal environment, the original reference to the Web service, the node in the Web. config node, the unrecognized configuration nodes <applicationSettings> problem</p></p><p><p>Contents of the Applicationsetting node:</p></p><p><p></p></p><p><p></p></p><p><p></p></p><pre><pre> <applicationSettings> <Oceansoft.Net.DwzWeb.Properties.Settings> <setting name=<span style="color: #800000;">" </span> <span style="color: #800000;">oceansoft_net_dwzweb_wgservice_checkmonitorservice</span><span style="color: #800000;">"</span><span style="color: #000000;"> serializeAs</span>=<span style="color: #800000;">"</span> <span style="color: #800000;">String</span> <span style="color: #800000;">"</span>> <value>http:<span style="color: #008000;">//</span><span style="color: #008000;">192.168.76.76:8888/checkmonitor</value></span> </setting> </Oceansoft.Net.DwzWeb.Properties.Settings> </applicationsettings ></pre></pre><p><p><br>Add the following code to the <span style="color: #000000;"><<span style="color: #000000;">configsections<span style="color: #000000;">></span> </span> </span> node</p></p><pre><configSections> <sectiongroup name=<span style="color: #800000;"><span style="color: #800000;">"</span></span><span style="color: #800000;"><span style="color: #800000;">applicationsettings</span></span><span style="color: #800000;"><span style="color: #800000;">"</span></span>Type=<span style="color: #800000;"><span style="color: #800000;">"</span></span><span style="color: #800000;"><span style="color: #800000;">System.Configuration.ApplicationSettingsGroup, System, version=2.0.0.0, culture=neutral, publickeytoken= b77a5c561934e089</span></span><span style="color: #800000;"><span style="color: #800000;">"</span></span>> <section name=<span style="color: #800000;"><span style="color: #800000;">"</span></span><span style="color: #800000;"><span style="color: #800000;">Oceansoft.Net.DwzWeb.Properties.Settings</span></span><span style="color: #800000;"><span style="color: #800000;">"</span></span>Type=<span style="color: #800000;"><span style="color: #800000;">"</span></span><span style="color: #800000;"><span style="color: #800000;">System.Configuration.ClientSettingsSection, System, version=4.0.0.0, culture=neutral, publickeytoken= b77a5c561934e089</span></span><span style="color: #800000;"><span style="color: #800000;">"</span></span>requirepermission=<span style="color: #800000;"><span style="color: #800000;">"</span></span><span style="color: #800000;"><span style="color: #800000;">false</span></span><span style="color: #800000;"><span style="color: #800000;">"</span></span>/> </sectionGroup></configSections></pre><p><p></p></p><p><p>Unrecognized configuration node when referencing a Web service applicationsettings</p></p></span>