The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

complier problems

Last post 08-02-2008, 6:43 AM by Mike.Griffin. 1 replies.
Sort Posts: Previous Next
  •  08-02-2008, 4:10 AM 10525

    complier problems

    I have my data access layer as a separate c# project within my overall web application solution.

    Ive generated the classes from my database, included the required references and complied.  Its compiles successfully, but with the following 'information' lines

    Message 2 Could not find schema information for the element 'EntitySpaces'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 15 4 EWDB
    Message 3 Could not find schema information for the element 'connectionInfo'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 16 6 EWDB
    Message 4 Could not find schema information for the attribute 'default'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 16 21 EWDB
    Message 5 Could not find schema information for the element 'connections'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 17 8 EWDB
    Message 6 Could not find schema information for the element 'add'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 18 10 EWDB
    Message 7 Could not find schema information for the attribute 'name'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 18 14 EWDB
    Message 8 Could not find schema information for the attribute 'providerMetadataKey'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 19 14 EWDB
    Message 9 Could not find schema information for the attribute 'sqlAccessType'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 20 14 EWDB
    Message 10 Could not find schema information for the attribute 'provider'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 21 14 EWDB
    Message 11 Could not find schema information for the attribute 'providerClass'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 22 14 EWDB
    Message 12 Could not find schema information for the attribute 'connectionString'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 23 14 EWDB
    Message 13 Could not find schema information for the attribute 'databaseVersion'. C:\Documents and Settings\MW\My Documents\Visual Studio 2008\Projects\EW\EWDataAccess\App.config 24 14 EWDB

     

    ive added the following to my app.config file

    <configSections>
        <sectionGroup name="EntitySpaces" type="EntitySpaces.Interfaces.esConfigSettings,EntitySpaces.Core">
          <section name="connectionInfo"
                   type="EntitySpaces.Interfaces.esConfigSettings,EntitySpaces.Interfaces"
                   allowLocation="true"
                   allowDefinition="Everywhere"
                   restartOnExternalChanges="true"/> 
        </sectionGroup>
      </configSections>
      <EntitySpaces>
        <connectionInfo default="EWDB">
          <connections>
            <add name="EWDB"
                 providerMetadataKey="esDefault"
                 sqlAccessType="DynamicSQL"
                 provider="EntitySpaces.SqlClientProvider"
                 providerClass="DataProvider"
                 connectionString="data source=MARK\SQLServer2005;initial catalog=EntertainmentWarehouse;integrated security=SSPI;persist security info=False;packet size=4096"
                 databaseVersion="2005"
                 />
          </connections>
        </connectionInfo>
      </EntitySpaces>

     

    whats the problem here ?
     

     

  •  08-02-2008, 6:43 AM 10528 in reply to 10525

    Re: complier problems

    Are you sure these are errors, I think they are warnings, close the app.config file when you compile and they will go away, I think there are other posts on this.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
View as RSS news feed in XML