Page 1 of 1

Get Exception Code

Posted: Mon 14 Sep 2009 16:28
by Nightflight
The SQL-Statement i sent to the DB returns an EOLEDBError. Now i try to get the real SQL-Server-Error Code by evaluation the ErrorCode and OLEDBErrorCode but both are -2147217908. Why???

I would need the real SQL-Server-Code for e.g. duplicate key, keys not in database, ...

I hope someone can help me! Thx

Posted: Tue 15 Sep 2009 12:12
by Dimon
This problem was discussed on SDAC forum. Please view the following topic:
http://www.devart.com/forums/viewtopic.php?t=7488

Posted: Tue 15 Sep 2009 17:59
by Nightflight
Thx!