jeffmc033
asked on
NHibernate schema validation error in VS2005
NHibernate Error within Visual Studio 2005
Message 1 Could not find schema information for the element 'urn:nhibernate-configurat ion-2.2:hi bernate-co nfiguratio n'.
How can I resolve this, it seems that Visual Studio 2005 does see the correct xsd file or it doesn't not of it at all.
I have added the following references
NHibernate.dll
log4j.net.dll
Nullables.dll
Here is the my Config.xml file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- Add this element -->
<configSections>
<section
name="hibernate-configurat ion"
type="NHibernate.Cfg.Confi gurationSe ctionHandl er, NHibernate"
/>
</configSections>
<hibernate-configuration xmlns='urn:nhibernate-conf iguration- 2.2' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<session-factory>
<property name="connection.provider" >NHibernat e.Connecti on.DriverC onnectionP rovider</p roperty>
<property name="connection.driver_cl ass">NHibe rnate.Driv er.SqlClie ntDriver</ property>
<property name="connection.connectio n_string"> removed</p roperty>
<property name="show_sql">true</prop erty>
<property name="dialect">NHibernate. Dialect.Ms Sql2000Dia lect</prop erty>
<property name="use_outer_join">true </property >
<mapping assembly="testassembly" />
</session-factory>
</hibernate-configuration>
</configuration>
Message 1 Could not find schema information for the element 'urn:nhibernate-configurat
How can I resolve this, it seems that Visual Studio 2005 does see the correct xsd file or it doesn't not of it at all.
I have added the following references
NHibernate.dll
log4j.net.dll
Nullables.dll
Here is the my Config.xml file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- Add this element -->
<configSections>
<section
name="hibernate-configurat
type="NHibernate.Cfg.Confi
/>
</configSections>
<hibernate-configuration xmlns='urn:nhibernate-conf
<session-factory>
<property name="connection.provider"
<property name="connection.driver_cl
<property name="connection.connectio
<property name="show_sql">true</prop
<property name="dialect">NHibernate.
<property name="use_outer_join">true
<mapping assembly="testassembly" />
</session-factory>
</hibernate-configuration>
</configuration>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.