If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > OLE DB CRASH after CommitTrans

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-12-06, 09:57
cJAY cJAY is offline
Registered User
 
Join Date: Feb 2005
Posts: 11
OLE DB CRASH after CommitTrans

I get a "CATASTROPHIC FAILURE" When doing another query after an ADO BEGINTRANS COMMITTRANS. The Unit of work commits properly, it just crashes the app when I try to use the connection again.

I have tried to close and re-open the connection, however that didn't help.

Some imformation:
Informix Version: 10.00.TC3
Operating System: WINXP SP2 (1 gig RAM)
OLEDB Provider: 2.90.TC3
ADO Connection String: “Provider=Ifxoledbc.2;Password=TASTESGREAT;User Id=APPLES;Data Source=SWIMPLATFORM@INFORMIX_DB;Persist Security Info=true;protocol=onsoctcp”
Reply With Quote
  #2 (permalink)  
Old 01-20-06, 09:24
cJAY cJAY is offline
Registered User
 
Join Date: Feb 2005
Posts: 11
Just some more information. I am using IBM Informix client SDK, Date: 1 July 2005, Version: 2.90.xC3.

There was a know bug with Informix ODBC Driver, Date: 06/13/00 Version: 3.32.
Bug 127885
"CATASTROPHIC FAILURE" WHEN REQUERY AFTER ADO BEGINTRANS COMMITTRANS IF PASSING CONNECTION STRING WITH NO DSN

That was with the ODBC drive. I am not using ODBC, rather OLE DB. Someone please shed some light on this for me.
Reply With Quote
  #3 (permalink)  
Old 01-20-06, 17:59
John Grubb John Grubb is offline
Registered User
 
Join Date: Jan 2006
Posts: 27
cJay, try using a DSN to odbc through the bridge. Frequently Oledb providers have a lot of code in common with ODBC Drivers.

Jay Grubb
Technical Consultant
OpenLink Software
Web: http://www.openlinksw.com:
Product Weblogs:
Virtuoso: http://www.openlinksw.com/weblogs/virtuoso
UDA: http://www.openlinksw.com/weblogs/uda
Universal Data Access & Virtual Database Technology Providers
Reply With Quote
  #4 (permalink)  
Old 01-26-06, 14:56
cJAY cJAY is offline
Registered User
 
Join Date: Feb 2005
Posts: 11
John,

How do I use "DSN to ODBC through the bridge"? Are you referring to just using an ODBC connection? Is it not possible to still use OLE DB?

If it is still OLE DB, how would I change my connection string?
Reply With Quote
  #5 (permalink)  
Old 01-31-06, 10:22
cJAY cJAY is offline
Registered User
 
Join Date: Feb 2005
Posts: 11
Please help me!!!!
Reply With Quote
  #6 (permalink)  
Old 01-31-06, 14:34
John Grubb John Grubb is offline
Registered User
 
Join Date: Jan 2006
Posts: 27
Depends on the object (ie provider). In your string, Ifxoledbc.2

MS has a default one MSDASQL, the string would look like

Provider=MSDASQL;DSN=myodbc;uid=myid;pwd=mypwd

You'd use an odbc driver, with a DSN that can already connect. I've run into a problem in the past with with some transactions and transaction isolation levels leading to crashes.

I suggested a different direction to see if you can avoid them. Try the Informix provided Driver, or a 3rd party one. If the Informix one isn't the cure, try http://www.openlinksw.com.

Disclaimer, I work in tech support there. We have demo drivers available, and we will help you get them running.

Jay
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On