Hi,
I've an app console compiled with clr 2.0.50727. This program calls a webservice. When I add the web reference VS.Net 2005 insert in my app.config this section :
<configSections> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="CMR.Process.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> </configSections> <appSettings> <add key="CMR.Process.WSCmr.cmr" value="http://localhost/app/webservice.asmx"/></appSettings> <applicationSettings> <CMR.Process.Properties.Settings> <setting name="CMR_Process_WSCmr_cmr" serializeAs="String"> <value>http://localhost/app/webservice.asmx</value> </setting> </CMR.Process.Properties.Settings> </applicationSettings>
When I execute it, i've an error. It can't read this config file because it doesn't know attribut type. The prog is executed with the old clr version v1.1.4322.
How I can resolve this pb
Thx
erereer
.NET Development21
|