Server Error in '/' Application.

Transaction (Process ID 77) was deadlocked on lock | communication buffer 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 77) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Source Error:


Line 143:            else if (this.usersType == 2)
Line 144:            {
Line 145:                this.users = DataAccess.GetModaUsersFollowers(this.idProduct, this.idFolder, this.user,
Line 146:                    //this.txtSearch.Text.Trim(),
Line 147:                    Conversion.ObjectToString(this.Session["searchFilter"]),

Source File: c:\inetpub\wwwroot\moda.es\moda\modaControls\modaUsers.ascx.cs    Line: 145

Stack Trace:


[SqlException (0x80131904): Transaction (Process ID 77) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]
   ModaFramework.DataAccess.GetModaUsersFollowers(Int32 idProduct, Int32 idFolder, ModaUser user, String search, Int32 total, Int32 pageNumber, ModaUserOrderTypeEnum orderType, Int32& totalRows) +348
   ModaWeb.moda.modaControls.modaUsers.LoadUsers() in c:\inetpub\wwwroot\moda.es\moda\modaControls\modaUsers.ascx.cs:145
   ModaWeb.moda.modaControls.modaUsers.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\moda.es\moda\modaControls\modaUsers.ascx.cs:96
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0