问题描述
各位大侠,给解决一下这个问题,Nhibernate的,在人数少的时候系统运行正常,人数一多就出现这个问题,每次都要重启动IIS,这是什么原因造成的?有没解决办法,急!!!!!!!我的邮箱:alekzhao@126.comNHibernate.AssertionFailure:nullidinxjdzs.xjjgdc.model.Tryqkentry(don'tflushtheSessionafteranexceptionoccurs)在NHibernate.Event.Default.DefaultFlushEntityEventListener.CheckId(Objectobj,IEntityPersisterpersister,Objectid,EntityModeentityMode)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultDefaultFlushEntityEventListener.cs:行号112在NHibernate.Event.Default.DefaultFlushEntityEventListener.GetValues(Objectentity,EntityEntryentry,EntityModeentityMode,BooleanmightBeDirty,ISessionImplementorsession)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultDefaultFlushEntityEventListener.cs:行号81在NHibernate.Event.Default.DefaultFlushEntityEventListener.OnFlushEntity(FlushEntityEventevent)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultDefaultFlushEntityEventListener.cs:行号36在NHibernate.Event.Default.AbstractFlushingEventListener.FlushEntities(FlushEventevent)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultAbstractFlushingEventListener.cs:行号163在NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEventevent)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultAbstractFlushingEventListener.cs:行号61在NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEventevent)位置c:CSharpNH2.0.0nhibernatesrcNHibernateEventDefaultDefaultFlushEventListener.cs:行号18在NHibernate.Impl.SessionImpl.Flush()位置c:CSharpNH2.0.0nhibernatesrcNHibernateImplSessionImpl.cs:行号1186在NHibernate.Transaction.AdoTransaction.Commit()位置c:CSharpNH2.0.0nhibernatesrcNHibernateTransactionAdoTransaction.cs:行号177在sjlr_jgjbqk_xiangj_edit.btnSave_Click(Objectsender,EventArgse)
解决方案
解决方案二:
弄不了啊,顶你一下吧