Server Error in '/' Application.

Invalid Handle!

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.ArgumentException: Invalid Handle!

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:


[ArgumentException: Invalid Handle!]
   System.Data.Odbc.OdbcConnection.HandleError(HandleRef hrHandle, SQL_HANDLE hType, RETCODE retcode) +32
   System.Data.Odbc.CMDWrapper.AllocateStatementHandle(IntPtr& hstmt) +179
   System.Data.Odbc.OdbcCommand.GetStatementHandle() +332
   System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method) +1189
   System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior) +47
   System.Data.Odbc.OdbcCommand.ExecuteReader() +7
   Proc.Default.Page_Load(Object sender, EventArgs e) in D:\aaawww\Inetpub\wwwroot\ppedia\Default.aspx.cs:41
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +733


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407