CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 CONNECTION ALREADY CLOSED ERROR

Print topic Send  topic

Author Message
Ajit Dixit
Posted: 06/14/2001, 12:49 AM

I am trying to develop an application using SAPDB as backend and Codecharge
with ASP.NET (C#)

I am getting following error

Application Error
----------------------------------------------------------------------------
----

The connection is already closed.
Description: An unhandled exception occurred at runtime during the execution
of the current web request. Please review the stack trace below to get a
better understanding of what the error is and where it originated from in
the code.

Exception Details: System.InvalidOperationException: The connection is
already closed.

Source Error:


Line 125: if (Connection != null)
Line 126: Connection.Close();
Line 127: }
Line 128:
Line 129:



Source File: c:\sapesms\ccpage.cs Line: 127

Stack Trace:


[InvalidOperationException: The connection is already closed.]
System.Data.ADO.ADOConnection.Close() +22
YesSoftware.CC.CCPage.DBClose() in c:\sapesms\ccpage.cs:127
SAP_SMS_PROJECT.MFCOMPANY.Page_Unload(Object sender, EventArgs e) in
c:\sapesms\mfcompany.cs:96
System.Web.UI.Control.OnUnload(EventArgs e) +111
System.Web.UI.Control.UnloadRecursive() +114
System.Web.UI.Page.ProcessRequest() +405
System.Web.UI.Page.ProcessRequest(HttpContext context) +19
System.Web.HttpApplication$CallHandlerExecutionStep.Execute() +180
System.Web.HttpApplication.ExecuteStep(HttpApplication$IExecutionStep
step, Boolean& completedSynchronously) +176






----------------------------------------------------------------------------
----

Version Information: Runtime Build: 1.0.2204.21; ASP.NET Build: 1.0.2204.21
This error I get even for Oracle 8.1.5 but I do not get this error for
SQLSERVER

Any solution for this?

Thanks
Ajit Dixit


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.