My ASP.NET application throws NHibernate exceptions sometimes, when it
throw's exceptions it will continue do it a while, so if I'm
restarting IIS it will go away and appear later.
Here is the log:

[IndexOutOfRangeException: Id7_0_]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String
fieldName) +2674398
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +249
   NHibernate.Driver.NHybridDataReader.GetOrdinal(String name) +26
   NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String
name) +133
   NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i,
IEntityPersister persister, Object id, IDataReader rs,
ISessionImplementor session) +195
   NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet,
ISessionImplementor session, QueryParameters queryParameters, LockMode
[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects,
EntityKey[] keys, Boolean returnProxies) +134
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session,
QueryParameters queryParameters, Boolean returnProxies) +1344
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections
(ISessionImplementor session, QueryParameters queryParameters, Boolean
returnProxies) +105
   NHibernate.Loader.Loader.DoList(ISessionImplementor session,
QueryParameters queryParameters) +201

[ADOException: could not execute query

[IndexOutOfRangeException: Id10_0_]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String
fieldName) +2674398
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +249
   NHibernate.Driver.NHybridDataReader.GetOrdinal(String name) +26
   NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String
name) +133
   NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i,
IEntityPersister persister, Object id, IDataReader rs,
ISessionImplementor session) +195
   NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet,
ISessionImplementor session, QueryParameters queryParameters, LockMode
[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects,
EntityKey[] keys, Boolean returnProxies) +134
   NHibernate.Impl.MultiCriteriaImpl.GetResultsFromDatabase(IList
results) +982

[HibernateException: Error executing multi criteria :

--

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