Server Error in '/' Application.

ExecuteReader requires an open and available Connection. The connection's current state 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: ExecuteReader requires an open and available Connection. The connection's current state is closed.

Source Error:


Line 1802:        catch
Line 1803:        {
Line 1804:            throw;
Line 1805:        }
Line 1806:        finally

Source File: c:\inetpub\vhosts\aktanmarble.com.tr\httpdocs\App_Code\DAL\ClassDAL.cs    Line: 1804

Stack Trace:


[InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.]
   System.Data.OleDb.OleDbConnection.CheckStateOpen(String method) +1560915
   System.Data.OleDb.OleDbCommand.ValidateConnection(String method) +29
   System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String method) +25
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +70
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +143
   ClassDAL.SelectAllkurumsalSayfa(OleDbCommand komut) in c:\inetpub\vhosts\aktanmarble.com.tr\httpdocs\App_Code\DAL\ClassDAL.cs:1804
   kurumsalSayfa.SelectAll() in c:\inetpub\vhosts\aktanmarble.com.tr\httpdocs\App_Code\DAL\kurumsalSayfa.cs:208
   Kurumsal.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\aktanmarble.com.tr\httpdocs\Kurumsal.aspx.cs:66
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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