Could not find schema information in app.config


J

jhansen

I am getting informational warnings about the following app.config and
indicate the following. I am using C# visual studio 2005 and used the
Settings.settings to set up my values scoped as application. How do I
clear up these informational warnings?

The 'requirePermission' attribute is not declared.
Could not find schema information for the element
'applicationSettings.'
Could not find schema information for the element
'ABC.Properties.Settings'.
Could not find schema information for the element 'setting'.
Could not find schema information for the attribute 'name'.
Could not find schema information for the attribute 'serializeAs'.
Could not find schema informatmion for the element 'value'.


app.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=xxx" >
<section name="ABC.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=xxx"
requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="ABC.Properties.Settings.TESTConnectionString"
connectionString="Data Source=SERVERNAME;Initial
Catalog=TEST;Integrated Security=True;Pooling=False"
providerName="System.Data.SqlClient" />
<add name="ABC.Properties.Settings.FSProdConnectionString"
connectionString="Data Source=ATEST;Initial Catalog=APROD;Integrated
Security=True;Pooling=False"
providerName="System.Data.SqlClient" />
<add name="ABC.Properties.Settings.DBConnect"
connectionString="Data Source=SERVERNAME;Initial
Catalog=TEST;Integrated Security=True;Pooling=False"
providerName="System.Data.SqlClient" />
</connectionStrings>
<applicationSettings>
<ABC.Properties.Settings>
<setting name="CSVFilePath" serializeAs="String">
<value>\\orion\commons\Janet\</value>
</setting>
</ABC.Properties.Settings>
</applicationSettings>
</configuration>
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top