web.config error message: Could not find schema information for the element 'sqlServerCatalogNameOverwrites'

Posts   
 
    
Max avatar
Max
User
Posts: 221
Joined: 14-Jul-2006
# Posted on: 06-May-2009 11:07:16   

When the web.config file il opened in the IDE I get a lot of message like:

Could not find schema information for the element 'dependencyInjectionInformation'
Could not find schema information for the element 'additionalAssemblies'.   
Could not find schema information for the element 'assembly'.   
Could not find schema information for the attribute 'fullName'. 
Could not find schema information for the element 'sqlServerCatalogNameOverwrites'.
Could not find schema information for the element 'add'.    
Could not find schema information for the attribute 'key'.  
Could not find schema information for the attribute 'value'.

my web.config is

<?xml version="1.0"?>
<configuration>

      <configSections>
          <section name="dependencyInjectionInformation" type="SD.LLBLGen.Pro.ORMSupportClasses.DependencyInjectionSectionHandler, SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.6.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27"/>

          <section name="sqlServerCatalogNameOverwrites" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </configSections>


      <dependencyInjectionInformation>
          <additionalAssemblies>
              <assembly fullName="DataWebSOL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
          </additionalAssemblies>
      </dependencyInjectionInformation>


      <sqlServerCatalogNameOverwrites>
          <add key="DataTest" value="DataBaseOnWeb" />
      </sqlServerCatalogNameOverwrites>


      <appSettings>
           <add key="Main.ConnectionString" value="data source=IsiServer\Database;initial catalog=DataBaseOnWeb;User ID=******;Password=******;persist security info=False;packet size=4096"/>
      </appSettings>


      <connectionStrings/>


      <system.web>
        
            <globalization culture="IT-it" uiCulture="IT-it"/>

            <httpRuntime maxRequestLength="20000" executionTimeout="180" />

            <compilation  debug="true"
                          strict="false"
                          explicit="true">
            </compilation>
        
            <pages>
                <namespaces>
                    <clear/>
                    <add namespace="System"/>
                    <add namespace="System.Collections"/>
                    <add namespace="System.Collections.Generic"/>
                    <add namespace="System.Collections.Specialized"/>
                    <add namespace="System.Configuration"/>
                    <add namespace="System.Text"/>
                    <add namespace="System.Text.RegularExpressions"/>
                    <add namespace="System.Web"/>
                    <add namespace="System.Web.Caching"/>
                    <add namespace="System.Web.SessionState"/>
                    <add namespace="System.Web.Security"/>
                    <add namespace="System.Web.Profile"/>
                    <add namespace="System.Web.UI"/>
                    <add namespace="System.Web.UI.WebControls"/>
                    <add namespace="System.Web.UI.WebControls.WebParts"/>
                    <add namespace="System.Web.UI.HtmlControls"/>
                </namespaces>
            </pages>
        
            <authentication mode="Forms">
               <forms loginUrl="loginpage.aspx" />
            </authentication>

            <customErrors mode="On"
                defaultRedirect="Error.htm">
            </customErrors>

      </system.web>

      <location path="AdministrationZone">
          <system.web>
              <authorization>
                  <deny users="?"/>
              </authorization>
          </system.web>
      </location>

  </configuration>

How can I solve those "Could not find schema information for the element *" message?

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 06-May-2009 15:51:10   

It seems that you are not the only facing this issue. Googling around showed many people in the same boat.

e.g. http://fgheysels.blogspot.com/2006/02/problem-with-custom-configsections-in.html http://forums.asp.net/p/1078424/1598583.aspx

btw, are these warnings that can be ignored or, compilation errors?

Max avatar
Max
User
Posts: 221
Joined: 14-Jul-2006
# Posted on: 08-May-2009 18:02:47   

Walaa wrote:

It seems that you are not the only facing this issue. Googling around showed many people in the same boat.

e.g. http://fgheysels.blogspot.com/2006/02/problem-with-custom-configsections-in.html http://forums.asp.net/p/1078424/1598583.aspx

btw, are these warnings that can be ignored or, compilation errors?

these are less than warning.. them are only "message". I can ignore them, the website is working.

The fact is that this is my first web-application, so I was thinking that I did something wrong in the web.config :-)

Anyway if my web.config is correct, no problem, I'll ignore these schema message.

Thanks, Max