Server Error in '/' Application.

Invalid attempt to call Read when reader is closed.

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: Invalid attempt to call Read when reader is closed.

Source Error:


Line 1:  <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="product_details.aspx.cs" Inherits="Products_product_details" %>
Line 2:  <%@ Register Src="../Controls/Products/ProductDetails.ascx" TagName="ProductDetails"
Line 3:      TagPrefix="uc1" %>

Source File: c:\Sites\thegioiphimhd.com\httpdocs\products\product_details.aspx    Line: 1

Stack Trace:


[InvalidOperationException: Invalid attempt to call Read when reader is closed.]
   System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +582
   System.Data.SqlClient.SqlDataReader.Read() +9
   DiamonSoft.SqlDataProvider.CommonSqlDataProviders.Config_getAll() in E:\DTC\Projects\WebApplication\thegioiphimhd\Version2\Source\Client\DiamonSoft.SqlDataProvider\Common\CommonSqlDataProviders.cs:61
   DiamonSoft.Components.Config.getAll() +45
   DiamonSoft.Components.AppConfiguration..ctor() +43
   DiamonSoft.Components.AppConfiguration.GetConfig() +135
   DiamonSoft.Components.Utils.getLang() +200
   DiamonSoft.Controls.BasePage.InitializeCulture() in E:\DTC\Projects\WebApplication\thegioiphimhd\Version2\Source\Client\DiamonSoft.Controls\BasePage.cs:9
   ASP.products_product_details_aspx.__BuildControlTree(products_product_details_aspx __ctrl) in c:\Sites\thegioiphimhd.com\httpdocs\products\product_details.aspx:1
   ASP.products_product_details_aspx.FrameworkInitialize() in c:\Sites\thegioiphimhd.com\httpdocs\products\product_details.aspx.cs:912307
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.products_product_details_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6ab71c4a\ab6c7c49\App_Web_0jey50g2.4.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


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