“/”应用程序中的服务器错误。

德赢vwin客户端苹果版下载_德赢ac米兰官方合作|下载首页

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ComponentModel.Win32Exception: 德赢vwin客户端苹果版下载_德赢ac米兰官方合作|下载首页

源错误:


行 104:
行 105:            ISession session = NHibernateHelper.GetCurrentSession();
行 106:            return session.Get<News_Details>(keyId);
行 107:        }
行 108:    }

源文件: d:\WebPoject\shouye20201020\BaseClass\BLL\News\News_DetailsBLL.cs    行: 106

堆栈跟踪:


[Win32Exception (0x80004005): 德赢vwin客户端苹果版下载_德赢ac米兰官方合作|下载首页]

[SqlException (0x80131904): 在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 德赢vwin客户端苹果版下载_德赢ac米兰官方合作|下载首页)]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1788098
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341958
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
   System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +594
   System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() +256
   System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() +39
   System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() +64
   System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) +86
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +222
   System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +61
   System.Data.SqlClient.SqlDataReader.get_MetaData() +90
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +377
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +1421
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +177
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +53
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +137
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +41
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +12
   NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) +35
   NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) +251
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +182
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +64
   NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) +227

[GenericADOException: could not initialize a collection: [Model.BasicRole.MenuList#20][SQL: SELECT menulist0_.RelationsRoleId as Relation2_1_, menulist0_.RelationsMenuId as Relation3_1_, basicmenu1_.MenuId as MenuId3_0_, basicmenu1_.MenuParentId as MenuPare2_3_0_, basicmenu1_.MenuName as MenuName3_0_, basicmenu1_.MenuUrl as MenuUrl3_0_, basicmenu1_.MenuUrlParameters as MenuUrlP5_3_0_, basicmenu1_.MenuTerget as MenuTerget3_0_, basicmenu1_.MenuModuleCode as MenuModu7_3_0_, basicmenu1_.MenuIco as MenuIco3_0_, basicmenu1_.MenuIsActive as MenuIsAc9_3_0_, basicmenu1_.MenuLevels as MenuLevels3_0_ FROM BasicRole_Menu_Relations menulist0_ left outer join BasicMenu basicmenu1_ on menulist0_.RelationsMenuId=basicmenu1_.MenuId WHERE menulist0_.RelationsRoleId=?]]
   NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) +335
   NHibernate.Loader.Collection.CollectionLoader.Initialize(Object id, ISessionImplementor session) +26
   NHibernate.Persister.Collection.AbstractCollectionPersister.Initialize(Object key, ISessionImplementor session) +29
   NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event) +278
   NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) +88
   NHibernate.Collection.AbstractPersistentCollection.ForceInitialization() +65
   NHibernate.Engine.StatefulPersistenceContext.InitializeNonLazyCollections() +140
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +109
   NHibernate.Loader.Loader.LoadEntity(ISessionImplementor session, Object id, IType identifierType, Object optionalObject, String optionalEntityName, Object optionalIdentifier, IEntityPersister persister) +287
   NHibernate.Loader.Entity.AbstractEntityLoader.Load(ISessionImplementor session, Object id, Object optionalObject, Object optionalId) +33
   NHibernate.Loader.Entity.AbstractEntityLoader.Load(Object id, Object optionalObject, ISessionImplementor session) +18
   NHibernate.Persister.Entity.AbstractEntityPersister.Load(Object id, Object optionalObject, LockMode lockMode, ISessionImplementor session) +112
   NHibernate.Event.Default.DefaultLoadEventListener.LoadFromDatasource(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) +31
   NHibernate.Event.Default.DefaultLoadEventListener.DoLoad(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) +529
   NHibernate.Event.Default.DefaultLoadEventListener.Load(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) +116
   NHibernate.Event.Default.DefaultLoadEventListener.ProxyOrLoad(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) +272
   NHibernate.Event.Default.DefaultLoadEventListener.OnLoad(LoadEvent event, LoadType loadType) +431
   NHibernate.Impl.SessionImpl.FireLoad(LoadEvent event, LoadType loadType) +48
   NHibernate.Impl.SessionImpl.Get(String entityName, Object id) +98
   NHibernate.Impl.SessionImpl.Get(Type entityClass, Object id) +28
   NHibernate.Impl.SessionImpl.Get(Object id) +66
   BLL.News_DetailsBLL.GetNews_DetailsById(Int32 keyId) in d:\WebPoject\shouye20201020\BaseClass\BLL\News\News_DetailsBLL.cs:106
   jx_NewsInfo.Page_Load(Object sender, EventArgs e) in d:\WebPoject\shouye20201020\TrainingWeb20191206\jx_NewsInfo.aspx.cs:49
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34249