I could be sending you on a wild goose chase, but have you confirmed the dll's that are deployed to your production server? I would look at the Iesi.collections.dll first as it provides ISet functionality.
John Davidson On Wed, Oct 20, 2010 at 4:20 PM, MattO <[email protected]> wrote: > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- 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.
