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.DoList(ISessionImplementor session, QueryParameters queryParameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1777

[ADOException: could not execute query
[ SELECT this_.Contentid as Contentid9_0_, this_.user_UserId as user2_9_0_, this_.graphic as graphic9_0_, this_.music as music9_0_, this_.literature as literature9_0_, this_.WFstatus as WFstatus9_0_, this_.publishedOn as publishe7_9_0_, this_.createdOn as createdOn9_0_, this_.rating as rating9_0_, this_.contentType as content10_9_0_, this_.[description] as column11_9_0_, this_.viewNum as viewNum9_0_, this_.ratingMedio as ratingM13_9_0_ FROM dbo.BL_Content this_ WHERE this_.publishedOn <= ? and this_.WFstatus = ? and this_.literature is not null ORDER BY this_.rating desc ]
Positinal Parameters:   0 5/24/2009 1:32:25 PM
  0 2
[SQL: SELECT this_.Contentid as Contentid9_0_, this_.user_UserId as user2_9_0_, this_.graphic as graphic9_0_, this_.music as music9_0_, this_.literature as literature9_0_, this_.WFstatus as WFstatus9_0_, this_.publishedOn as publishe7_9_0_, this_.createdOn as createdOn9_0_, this_.rating as rating9_0_, this_.contentType as content10_9_0_, this_.[description] as column11_9_0_, this_.viewNum as viewNum9_0_, this_.ratingMedio as ratingM13_9_0_ FROM dbo.BL_Content this_ WHERE this_.publishedOn <= ? and this_.WFstatus = ? and this_.literature is not null ORDER BY this_.rating desc]]
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Loader.cs:1787
   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.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) in c:\net\nhibernate\nhibernate\src\NHibernate\Loader\Criteria\CriteriaLoader.cs:66
   NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria, IList results) in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:4964
   NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria) in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\SessionImpl.cs:4912
   NHibernate.Impl.CriteriaImpl.List() in c:\net\nhibernate\nhibernate\src\NHibernate\Impl\CriteriaImpl.cs:316
   BulkLab.Ajax.UserControl.TopWritingArt.Page_Load(Object sender, EventArgs e) in C:\Project\BULKLAB.COM\Solution\BulkLab.Ajax\UserControl\TopWritingArt.ascx.cs:56
   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.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   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