Hi
I am looking for an editor that will allow a user to edit application
configuration easily and I have found below;
Unfortunately it does not read my app.config (given below). Could someone
please give me a quick hint as to what can I do to fix this?
Thanks
Regards
<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<configSections >
<sectionGroup name="applicati onSettings"
type="System.Co nfiguration.App licationSetting sGroup, System,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9">
<section name="EMS.My.My Settings"
type="System.Co nfiguration.Cli entSettingsSect ion, System, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9" requirePermissi on="false"
/>
</sectionGroup>
</configSections>
<connectionStri ngs>
<add name="EMS.My.My Settings.EMSDat aConnection"
connectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0;Data Source="C: \EMS
2008\Data\Event s Manager Data.mdb"" providerName="S ystem.Data.OleD b" />
</connectionStrin gs>
<system.diagnos tics>
<sources>
<!-- This section defines the logging configuration for
My.Application. Log -->
<source name="DefaultSo urce" switchName="Def aultSwitch">
<listeners>
<add name="FileLog" />
<!-- Uncomment the below section to write to the Application Event
Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSw itch" value="Informat ion" />
</switches>
<sharedListener s>
<add name="FileLog"
type="Microsoft .VisualBasic.Lo gging.FileLogTr aceListener,
Microsoft.Visua lBasic, Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, processorArchit ecture=MSIL"
initializeData= "FileLogWri ter" />
<!-- Uncomment the below section and replace APPLICATION_NAM E with the
name of your application to write to the Application Event Log -->
<!--<add name="EventLog"
type="System.Di agnostics.Event LogTraceListene r"
initializeData= "APPLICATION_NA ME"/-->
</sharedListeners >
</system.diagnost ics>
<applicationSet tings>
<EMS.My.MySetti ngs>
<setting name="ClientErr orLogEmailRecip ient" serializeAs="St ring">
<value>info@myd omain.co.uk</value>
</setting>
<setting name="ErrorLogE mailFrequency" serializeAs="St ring">
<value>1</value>
</setting>
<setting name="Sender" serializeAs="St ring">
<value>EMS-Squeeze@mydomai n.co.uk</value>
</setting>
<setting name="SMTPServe r" serializeAs="St ring">
<value>smtp.myi sp.co.uk</value>
</setting>
<setting name="strLocalD DB" serializeAs="St ring">
<value>"C:\Blah Blah\Replica of MyDB.mdb"</value>
</setting>
<setting name="strRemote DDB" serializeAs="St ring">
<value>"F:\Blah Blah\MyDB.mdb"</value>
</setting>
</EMS.My.MySettin gs>
</applicationSett ings>
</configuration>
I am looking for an editor that will allow a user to edit application
configuration easily and I have found below;
Unfortunately it does not read my app.config (given below). Could someone
please give me a quick hint as to what can I do to fix this?
Thanks
Regards
<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<configSections >
<sectionGroup name="applicati onSettings"
type="System.Co nfiguration.App licationSetting sGroup, System,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9">
<section name="EMS.My.My Settings"
type="System.Co nfiguration.Cli entSettingsSect ion, System, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9" requirePermissi on="false"
/>
</sectionGroup>
</configSections>
<connectionStri ngs>
<add name="EMS.My.My Settings.EMSDat aConnection"
connectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0;Data Source="C: \EMS
2008\Data\Event s Manager Data.mdb"" providerName="S ystem.Data.OleD b" />
</connectionStrin gs>
<system.diagnos tics>
<sources>
<!-- This section defines the logging configuration for
My.Application. Log -->
<source name="DefaultSo urce" switchName="Def aultSwitch">
<listeners>
<add name="FileLog" />
<!-- Uncomment the below section to write to the Application Event
Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSw itch" value="Informat ion" />
</switches>
<sharedListener s>
<add name="FileLog"
type="Microsoft .VisualBasic.Lo gging.FileLogTr aceListener,
Microsoft.Visua lBasic, Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a, processorArchit ecture=MSIL"
initializeData= "FileLogWri ter" />
<!-- Uncomment the below section and replace APPLICATION_NAM E with the
name of your application to write to the Application Event Log -->
<!--<add name="EventLog"
type="System.Di agnostics.Event LogTraceListene r"
initializeData= "APPLICATION_NA ME"/-->
</sharedListeners >
</system.diagnost ics>
<applicationSet tings>
<EMS.My.MySetti ngs>
<setting name="ClientErr orLogEmailRecip ient" serializeAs="St ring">
<value>info@myd omain.co.uk</value>
</setting>
<setting name="ErrorLogE mailFrequency" serializeAs="St ring">
<value>1</value>
</setting>
<setting name="Sender" serializeAs="St ring">
<value>EMS-Squeeze@mydomai n.co.uk</value>
</setting>
<setting name="SMTPServe r" serializeAs="St ring">
<value>smtp.myi sp.co.uk</value>
</setting>
<setting name="strLocalD DB" serializeAs="St ring">
<value>"C:\Blah Blah\Replica of MyDB.mdb"</value>
</setting>
<setting name="strRemote DDB" serializeAs="St ring">
<value>"F:\Blah Blah\MyDB.mdb"</value>
</setting>
</EMS.My.MySettin gs>
</applicationSett ings>
</configuration>
Comment