BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exception when use Open ODBC driver

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Daniel Baylon
Guest





PostPosted: Fri Jan 30, 2004 4:30 pm    Post subject: Exception when use Open ODBC driver Reply with quote




I'm testing dbExpress Open ODBC Driver.

I installed dbExpress Open ODBC driver and everything seems fine.

Created a new application, put SQLConnection, SQLClientDataset, DataSource, DBNavigator, DBGrid components, connection is successful in design mode.

When try to run application, following exception occurs:

Project Project1.exe raised exception class EDbxOdbcWarning with message SQL_SUCCESS_WITH_INFO returned from ODBC function SQLGetInfo(fhCon, SQL_DBMS_VER).
ODBC Return Code: 1: SQL_SUCCESS_WITH_INFO

ODBC SqlState: 01004
[Microsoft][ODBC Driver Manager] Data truncated

DBMS: "PostgreSQL", version: , ODBC Driver: "", version:
'. Process stopped. Use Step or Run to continue.

I don't know why this Exception occurs.

I appreciate some help

Best Regards.
Back to top
vAd
Guest





PostPosted: Fri Jan 30, 2004 6:12 pm    Post subject: Re: Exception when use Open ODBC driver Reply with quote



Hello, Daniel!
You wrote on 30 Jan 2004 09:30:29 -0700:


DB> I'm testing dbExpress Open ODBC Driver.
DB> I installed dbExpress Open ODBC driver and everything seems fine.

need more information (see OpenODBC ReadMe.Txt):

Open ODBC debug log ?
PostgreSQL Server version ? (is saved to debug log)
Open ODBC version ? (is saved to debug log)
PostgreSQL ODBC version ? (is saved to debug log)
SQL ? (is saved to debug log)

DB> Created a new application, put SQLConnection, SQLClientDataset,
DB> DataSource, DBNavigator, DBGrid components, connection is successful
DB> in design mode.
DB> When try to run application, following exception occurs:

DB> Project Project1.exe raised exception class EDbxOdbcWarning with
DB> message SQL_SUCCESS_WITH_INFO returned from ODBC function
DB> SQLGetInfo(fhCon, SQL_DBMS_VER).
DB> ODBC Return Code: 1: SQL_SUCCESS_WITH_INFO
DB> ODBC SqlState: 01004 [Microsoft][ODBC Driver Manager] Data truncated
DB> DBMS: "PostgreSQL", version: , ODBC Driver: "", version:
DB> '. Process stopped. Use Step or Run to continue.
DB> I don't know why this Exception occurs.
DB> I appreciate some help

It is necessary for the answer to more information.
The file with the journal of operation will allow to give the answer.

Transfer me the debug journal by mail. You will find my address in the file
ChangesLog.Txt (Vadim V.).

--
Vadim


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.