Lỗi xảy ra ở Module: Banner, View: AdvertingHome, Section: ContentRight
System.Data.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
--- End of inner exception stack trace ---
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Banner.Models.GalleryDL.GetAdvertisingItemByID(Int32 id, String lang)
at Banner.Models.GalleryBL.GetAdvertisingItemByID(Int32 id, String lang)
at Banner.Controllers.BannerController.AdvertingHome()
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.b__41()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.b__22(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.b__3(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.b__3()
at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
Ngày 12/9, đồng chí Mai Vũ Tuấn, Ủy viên Ban chấp hành Đảng bộ tỉnh, Bí thư Thành ủy kiểm tra, nắm tình hình công tác xử lý, khắc phục hậu quả bão số...
Thời điểm trước bão số 3, lãnh đạo Tập đoàn Công nghiệp Than – Khoáng sản Việt Nam (TKV) đã chỉ đạo các đơn vị thành viên chuẩn bị sẵn sàng mọi phương...
Để động viên ngành Than khôi phục hoạt động sản xuất, tối 11/9, đồng chí Cao Tường Huy, Phó Bí thư Tỉnh ủy, Chủ tịch UBND tỉnh đi kiểm tra tình hình...
Chiều 11/9, đồng chí Cao Tường Huy, Phó Bí thư Tỉnh ủy, Chủ tịch UBND tỉnh đã tới thăm, tặng quà, động viên một số gia đình bị thiệt hại do cơn bão số...
Sáng ngày 11/9, đồng chí Nguyễn Chiến Thắng, Phó Bí thư Thường trực Thành uỷ, Chủ tịch HĐND thành phố đã đi kiểm tra và chỉ đạo công tác khắc phục hậu...
Sáng 10/9, đồng chí Trịnh Thị Minh Thanh - Phó Bí thư Thường trực Tỉnh uỷ đã có cuộc kiểm tra công tác khắc phục hậu quả bão số 3 trên địa bàn thành...
Sáng 10/9, đồng chí Mai Vũ Tuấn, Bí thư Thành uỷ; đồng chí Nguyễn Chiến Thắng, PBT Thường trực Thành uỷ, Chủ tịch HĐND thành phố đã có cuộc khảo sát...