Error collection (Sybase)

G

Galore

Hello,

I'm currently working on a project that uses ASE 12 as its DBMS. In the
office I've installed ASE 12.5 Developer Edition, and at home I've installed
ASE 12.5.1 Developer Edition. Also, I'm using Oledb classes from .NET
Framework 1.1. My problem is when Sybase returns any error, for example
trying to delete a record that is referencied at others tables (FK).

When I'm at work, my application return this kind of error in a
OledbException class. Is has only one error on the Errors collection,
"Command has been cancelled", but when I simulate this error at home, on a
unit test, it brings me two errors: "Command has been cancelled", and the FK
error. Why the DB behaviors are different? Is it a Sybase configuration
issue? I want the Errors collection with all errors!

I'd appreciate any kind of help.

Thanks
 
V

Val Mazur

Hi Garole,

This not a database or client issue. This is provider's issue. Provider
returns all the error information. I think you have different versions of
provider on your PCs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top