467,923 Members | 1,170 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,923 developers. It's quick & easy.

Could not find schema information in app.config

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.ApplicationSettingsGrou p, 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.FSProdConnectionStri ng"
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>

Jun 15 '06 #1
  • viewed: 7291
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mark Constant | last post: by
reply views Thread by Derek | last post: by
5 posts views Thread by Rachel | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.