Server Error in '/' Application.

Transaction (Process ID 148) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Transaction (Process ID 148) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Transaction (Process ID 148) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
   System.Data.SqlClient.SqlDataReader.HasMoreRows() +157
   System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +197
   System.Data.SqlClient.SqlDataReader.Read() +9
   NHibernate.Driver.NHybridDataReader.Read() in c:\net\nhibernate\nhibernate\src\NHibernate\Driver\NHybridDataReader.cs:114
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:442
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:183
   NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1599

[ADOException: could not initialize a collection: [BulkLab.Core.User.contents#30][SQL: SELECT contents0_.user_userId as user14___1_, contents0_.Contentid as Contentid1_, contents0_.Contentid as Contentid9_0_, contents0_.user_UserId as user2_9_0_, contents0_.graphic as graphic9_0_, contents0_.music as music9_0_, contents0_.literature as literature9_0_, contents0_.WFstatus as WFstatus9_0_, contents0_.publishedOn as publishe7_9_0_, contents0_.createdOn as createdOn9_0_, contents0_.rating as rating9_0_, contents0_.contentType as content10_9_0_, contents0_.[description] as column11_9_0_, contents0_.viewNum as viewNum9_0_, contents0_.ratingMedio as ratingM13_9_0_ FROM dbo.BL_Content contents0_ WHERE contents0_.user_userId=?]]
   NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1612
   NHibernate.Loader.Collection.CollectionLoader.Initialize(Object id, ISessionImplementor session) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Collection\CollectionLoader.cs:32
   NHibernate.Persister.Collection.AbstractCollectionPersister.Initialize(Object key, ISessionImplementor session) in c:\net\nhibernate\nhibernate\src\NHibernate\Persister\Collection\AbstractCollectionPersister.cs:408
   NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:4479
   NHibernate.Collection.AbstractPersistentCollection.ForceInitialization() in c:\net\nhibernate\nhibernate\src\NHibernate\Collection\AbstractPersistentCollection.cs:445
   NHibernate.Impl.SessionImpl.InitializeNonLazyCollections() in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:4289
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:189
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1783
   NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1731
   NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet querySpaces, IType[] resultTypes) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1725
   NHibernate.Hql.Classic.QueryTranslator.List(ISessionImplementor session, QueryParameters queryParameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Hql\Classic\QueryTranslator.cs:1010
   NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters, IList results) in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:1753
   NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:1711
   NHibernate.Impl.QueryImpl.List() in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\QueryImpl.cs:57
   BulkLab.Ajax.Browse.Page_Load(Object sender, EventArgs e) in C:\Project\BULKLAB.COM\Solution\BulkLab.Ajax\Browse.aspx.cs:201
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082