This group is for the development *of* NHibernate. For assistance in development *with* NHibernate, please direct your post to http://groups.google.com/group/NHUSERS.
Thanks, Steve Bohlen sboh...@gmail.com http://blog.unhandled-exceptions.com http://twitter.com/sbohlen On Tue, Sep 27, 2016 at 7:03 AM, Waqas Hameed <waqasfast...@gmail.com> wrote: > Hi, > > I am getting N-hibernate exception in ASP.Net MVC application when bulk of > user accessing application. > > Detail : An ExceptionDetail, likely created by > IncludeExceptionDetailInFaults=true, whose value is: > NHibernate.Exceptions.GenericADOException: could not load an entity: > Product > System.Data.SqlClient.SqlException: Invalid object name 'Product'. > at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, > Boolean breakConnection, Action`1 wrapCloseInAction) > at > System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject > stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) > at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, > SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet > bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) > at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() > at System.Data.SqlClient.SqlDataReader.get_MetaData() > at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, > RunBehavior runBehavior, String resetOptionsString) > at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior > cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, > Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) > at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior > cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, > TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean > asyncWrite) > at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior > cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) > at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior > behavior, String method) > at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior > behavior) > at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() > at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) > at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean > autoDiscoverTypes, Boolean callable, RowSelection selection, > ISessionImplementor session) > at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, > QueryParameters queryParameters, Boolean returnProxies) > at > NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor > session, QueryParameters queryParameters, Boolean returnProxies) > at NHibernate.Loader.Loader.LoadEntity(ISessionImplementor session, > Object id, IType identifierType, Object optionalObject, String > optionalEntityName, Object optionalIdentifier, IEntityPersister persister) > --- End of inner ExceptionDetail stack trace --- > at NHibernate.Loader.Loader.LoadEntity(ISessionImplementor session, > Object id, IType identifierType, Object optionalObject, String > optionalEntityName, Object optionalIdentifier, IEntityPersister persister) > > > Please help me how to solve this issue. > > Thanks > > -- > > --- > You received this message because you are subscribed to the Google Groups > "nhibernate-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nhibernate-development+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.