NHibernate configurationsfejl
Jeg sidder og anvender NHibernate. Jeg har en helt top configurationsfil, altså med indholdet:<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
</hibernate-mapping>
Når jeg forsøger at loade Nhibernate, så får jeg følgende fejl:
MappingException: The given key was not present in the dictionary
Stacktrace:
" at System.ThrowHelper.ThrowKeyNotFoundException()\r\n at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n at NHibernate.Dialect.Dialect.GetDialect(IDictionary`2 props)\r\n at NHibernate.Cfg.Configuration.AddValidatedDocument(NamedXmlDocument doc)"