Error Messages

Discussions specific to Team Developer 5.1.

Error Messages

Postby prpruchnik@yahoo.com » Wed Aug 01, 2012 12:46 pm

Greetings,
I am using GUPTA 5.1 SP6 Build 14543 with SqlServer 2008
When I get an error and use SqlGetError or SqlGetErrorTextX or SqlGetErrorTextX – I get a message that appears to be two messages and the second message truncated – an example follows:
Microsoft SQL Server:8152[Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.Microsoft SQL Server:3621[Microsoft][ODBC SQL Server Driver][SQL Server]The sta
Has anyone encountered this? Is there a way to retrieve the full message of concatenated messages?
Thanks in advance,
Gupta Vet!
prpruchnik@yahoo.com
 
Posts: 16
Joined: Thu Jan 31, 2008 8:38 am

Re: Error Messages

Postby Jeff Luther » Wed Aug 01, 2012 1:45 pm

8152: as you show:
http://www.mombu.com/microsoft/sms-admi ... 37575.html

3162: down the page a bit:
http://www.lcard.ru/~nail/sybase/error/26595.htm
Error 3621
Severity Level
10
Error Message Text
Command has been aborted.

Explanation
This error occurs when SQL Server is unable to complete a command. Error 3621 may be the last message displayed by your application even though another message was sent by SQL Server when the error actually occurred. The rest of the commands in the transaction will complete normally.


I've not seen this double-error issue before, but maybe truncation of 2nd error is a side-effect of the fact that it's been 'aborted.' My suspicion is that the first error is the 'real' one -- from TD perspective -- and in your case sounds like possible a Unicode issue?
Jeff Luther
 


Return to Team Developer 5.1

Who is online

Users browsing this forum: No registered users and 1 guest