So I've deployed my ASP .NET application to production and low and
behold there are some very strange errors happening.  Stack traces are
almost useless to figure out whats going on.  The first error that
happens is as follows.  Notice the inner stack trace, why is it
erroring on one of the nHibernate generated Aliases???

could not execute query [ SELECT this_.ExamTypeAccessID as
ExamType1_8_0_, this_.TS as TS8_0_, this_.domainuser as
domainuser8_0_, this_.ExamType as ExamType8_0_, this_.ExamTypeID as
ExamTypeID8_0_ FROM ItemBank.dbo.[ott_ExamTypeAccess] this_ WHERE
this_.domainuser = @p0 ] Positional parameters: #0>domain\user [SQL:
SELECT this_.ExamTypeAccessID as ExamType1_8_0_, this_.TS as TS8_0_,
this_.domainuser as domainuser8_0_, this_.ExamType as ExamType8_0_,
this_.ExamTypeID as ExamTypeID8_0_ FROM ItemBank.dbo.
[ott_ExamTypeAccess] this_ WHERE this_.domainuser = @p0]

at NHibernate.Loader.Loader.DoList(ISessionImplementor session,
QueryParameters queryParameters)
at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor
session, QueryParameters queryParameters)
at NHibernate.Loader.Loader.List(ISessionImplementor session,
QueryParameters queryParameters, ISet`1 querySpaces, IType[]
resultTypes)
at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList
results)
at NHibernate.Impl.CriteriaImpl.List(IList results)
at NHibernate.Impl.CriteriaImpl.List[T]()
at
ItemBankCoreNH.ManagerObjects.ExamTypeAccessManager.GetAllAssignedExamPermissions(String
domainuser)
at ItemBankWeb.ItemBankMasterPage.Page_Load(Object sender, EventArgs
e)

Inner Stack Trace: ExamType1_8_0_

at NHibernate.Loader.Loader.DoList(ISessionImplementor session,
QueryParameters queryParameters)
at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor
session, QueryParameters queryParameters)
at NHibernate.Loader.Loader.List(ISessionImplementor session,
QueryParameters queryParameters, ISet`1 querySpaces, IType[]
resultTypes)
at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList
results)
at NHibernate.Impl.CriteriaImpl.List(IList results)
at NHibernate.Impl.CriteriaImpl.List[T]()
at
ItemBankCoreNH.ManagerObjects.ExamTypeAccessManager.GetAllAssignedExamPermissions(String
domainuser)
at ItemBankWeb.ItemBankMasterPage.Page_Load(Object sender, EventArgs
e)

-- 
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