ERROR - no error information available (Postgres Database) OBDC Error

Hi,

Can anyone solve my problem?
I am using the postgres database with postgres odbc driver.  I create a asp.net page to access this database. However, the error occurs sometimes but not everytime.
I only thing solve it is to restart the iis.
The error message is:

ERROR - no error information available

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.Data.Odbc.OdbcException: ERROR - no error information available

Source Error:

Line 42:                                 return dbClass.GetDataSet("cp", SQLcmd);
Line 43:                        }
Line 44:                        catch (Exception ex) { throw ex; }
Line 45:                 }
Line 46: 

Source File: c:\inetpub\wwwroot\jccms_webadmin\controller\contentcontroller.cs    Line: 44

Stack Trace:

[OdbcException: ERROR - no error information available]
   JCCMS_WebAdmin.Controller.ContentController.bindSubmitter() in c:\inetpub\wwwroot\jccms_webadmin\controller\contentcontroller.cs:44
   JCCMS_WebAdmin.CPReport.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\jccms_webadmin\cpreport.aspx.cs:49
   System.Web.UI.Control.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Page.ProcessRequestMain()


Please help,
Daniel.
0
noahgroup
6/23/2005 2:13:33 AM
📁 asp.net.other-databases
📃 819 articles.
⭐ 0 followers.

💬 1 Replies
👁️‍🗨️ 1833 Views



ODBC is old so you can get problems with it.  Try the links below for other .NET Providers for Postgres.  Hope this helps.
<a href="http://sourceforge.net/projects/mysqlnet/">http://sourceforge.net/projects/mysqlnet/</a>
<a href="http://www.postgresql.org/download/">http://www.postgresql.org/download/</a>

Kind regards,
Gift Peddie
0
Caddre
6/23/2005 2:49:23 AM
Reply: