Server Error in '/' Application.

This SqlTransaction has completed; it is no longer usable.

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.InvalidOperationException: This SqlTransaction has completed; it is no longer usable.

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:


[InvalidOperationException: This SqlTransaction has completed; it is no longer usable.]
   System.Data.SqlClient.SqlTransaction.ZombieCheck() +50
   System.Data.SqlClient.SqlTransaction.Commit() +83
   DbTask.GetData(SqlCommand cmd) in c:\Project\2020\Hau.edu.vn\Frontend\App_Code\DbTask.cs:114
   DbTask.GetData(String sql, DataTable dtParameters) in c:\Project\2020\Hau.edu.vn\Frontend\App_Code\DbTask.cs:157
   Groups.GetIDGRoupbyIDbaiviet(String idbaiviet) in c:\Project\2020\Hau.edu.vn\Frontend\App_Code\Groups.cs:70
   control_style.Page_Load(Object sender, EventArgs e) in c:\Project\2020\Hau.edu.vn\Frontend\Home\style.ascx.cs:32
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2606


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062