Hi,
I  have exception in my application:
Mapping File:
<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
  <class
name="MatrixServiceCore.DataAccess.DataModel.Setups,MatrixServiceCore.DataAccess"
table="setups" lazy="true">
    <id name="SetupId" column="setup_id" type="int">
      <generator class="native" />
    </id>
    <property type="Boolean" not-null="true" name="SetupIsEnabled"
column="[setup_is_enabled]" />
    <many-to-one name="SetupProductId" cascade="none"
column="setup_product_id" not-null="true" />
    <many-to-one name="SetupProductValuesId" cascade="none"
column="setup_product_values_id" not-null="true" />
    <bag name="FkSetupItemsSetups" inverse="true" lazy="true"
cascade="all">
      <key column="setup_id" />
      <one-to-many
class="MatrixServiceCore.DataAccess.DataModel.SetupItems,MatrixServiceCore.DataAccess"
 /
>
    </bag>
  </class>
</hibernate-mapping>
Configuration File:
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory name="NHibernate.Test">
    <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</
property>
    <property
name="connection.driver_class">NHibernate.Driver.SqlClientDriver</
property>
    <property name="connection.connection_string">Data
Source=server;Initial Catalog=db;User Id=user;Password=pass;</
property>
    <property name="adonet.batch_size">10</property>
    <property name="show_sql">true</property>
    <property name="use_outer_join">false</property>
    <property name="command_timeout">60</property>
    <property name="query.substitutions">true 1, false 0, yes 'Y', no
'N'</property>
    <property
name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle</property>
  </session-factory>
</hibernate-configuration>
Exception message: "Could not find the dialect in the configuration"

You know why I get this error?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to