Click here to Skip to main content
15,910,009 members
Home / Discussions / Database
   

Database

 
Generalcreating a bunch of tables from a central table Pin
Like2Byte8-Nov-02 10:08
Like2Byte8-Nov-02 10:08 
GeneralRe: creating a bunch of tables from a central table Pin
Pyt8-Nov-02 10:17
Pyt8-Nov-02 10:17 
GeneralRe: creating a bunch of tables from a central table Pin
Vagif Abilov10-Nov-02 6:03
professionalVagif Abilov10-Nov-02 6:03 
GeneralRe: creating a bunch of tables from a central table Pin
Like2Byte11-Nov-02 2:34
Like2Byte11-Nov-02 2:34 
GeneralDataSets and XML Pin
Karen8-Nov-02 6:31
Karen8-Nov-02 6:31 
GeneralRe: DataSets and XML Pin
Rickard Andersson2010-Nov-02 20:57
Rickard Andersson2010-Nov-02 20:57 
GeneralRe: access to a mysql-database Pin
Vasudevan Deepak Kumar9-Nov-02 0:19
Vasudevan Deepak Kumar9-Nov-02 0:19 
GeneralSerious and Dreaded OleDB Adapter DB2 Driver Crashing Problem Pin
Vasudevan Deepak Kumar7-Nov-02 20:00
Vasudevan Deepak Kumar7-Nov-02 20:00 
Hi there,

I am using OleDB to connect to an IBMDB2 database on an AIX Server on Rs/6000 and also to a Linux based IBMDB2 database.

All is okay but when there is a duplicate record insertion, which has to be handled by a try catch block and return to the calling file, IIS/ASP.NET Worker Process fails miserably with a error message called

Server Application Unavailable. Event Viewer logs a message
aspnet_wp process stopped unexpectedly.

When I tried to run the query via Console Application, the try catch block is not able to handle this type of SQL Error alone. Instead it raises an Exception

System.ExecutionEngineException

The problem does not seem to be with the application, since it can handle any SQL statement failures and can gracefully return the error message except for the the dreaded Primary Key/Unique Key violation exception.

A Free Utility for SQL/OlEDB called QueryExpress from http://www.albahari.com/ also fails and crashes with the abovesaid exception.

We doubt whether the OLEDBDriver (Provider=IBMDADB2) is the culprit since if we use Microsoft ODBC.NET (Driver=IBM DB2 ODBC Driver), the above exception is gracefully handled.

Confused | :confused: While anything via IBM OleDb Driver fails, IBM DB2 Command Center is able to report the error gracefully along with some SQLState etc. Confused | :confused:

But my question is there any other OLEDB providers for DB2 database from Microsoft or any other vendor?

Thanks in advance...

Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
GeneralTrivial SQL (i think) Pin
alex.barylski7-Nov-02 11:33
alex.barylski7-Nov-02 11:33 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 11:47
sitebuilderPaul Watson7-Nov-02 11:47 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 12:58
alex.barylski7-Nov-02 12:58 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 13:10
alex.barylski7-Nov-02 13:10 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 21:08
sitebuilderPaul Watson7-Nov-02 21:08 
GeneralRe: Trivial SQL (i think) Pin
markkuk8-Nov-02 2:08
markkuk8-Nov-02 2:08 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski8-Nov-02 8:11
alex.barylski8-Nov-02 8:11 
GeneralSELECT ... FOR XML AUTO Pin
Alexandru Savescu6-Nov-02 23:42
Alexandru Savescu6-Nov-02 23:42 
GeneralSaving a recordset in an XML stream Pin
Alexandru Savescu5-Nov-02 23:33
Alexandru Savescu5-Nov-02 23:33 
GeneralRe: Saving a recordset in an XML stream Pin
Richard Deeming6-Nov-02 2:54
mveRichard Deeming6-Nov-02 2:54 
GeneralDatasets Pin
Scoop5-Nov-02 23:15
Scoop5-Nov-02 23:15 
GeneralRe: Datasets Pin
Alexandru Savescu5-Nov-02 23:37
Alexandru Savescu5-Nov-02 23:37 
GeneralRe: Datasets Pin
Paul Watson6-Nov-02 3:15
sitebuilderPaul Watson6-Nov-02 3:15 
GeneralRe: Datasets Pin
Scoop6-Nov-02 3:23
Scoop6-Nov-02 3:23 
GeneralRe: Datasets Pin
Paul Watson6-Nov-02 3:26
sitebuilderPaul Watson6-Nov-02 3:26 
Generalfeedback from stored proc Pin
SimonS5-Nov-02 22:11
SimonS5-Nov-02 22:11 
GeneralRe: feedback from stored proc Pin
Richard Deeming6-Nov-02 3:15
mveRichard Deeming6-Nov-02 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.