Discussion:
timeout using SDK 2.81 TC3 - .NET Managed Provider
(too old to reply)
-=Eric=-
2004-09-14 02:55:25 UTC
Permalink
We have a showstopper issue...after upgrading from SDK 2.7x to 2.81
TC3 (to get the .NET managed provider), we're occasionally running
into timeout errors in .NET applications. Specifically, the.NET code
is throwing this:

Error Message :
ERROR [HYT00] [Informix][Informix ODBC Driver]Timeout expired.
ERROR [HY008] [Informix][Informix ODBC Driver][Informix]Statement
interrupted by user.
Stack Trace= at Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr
hHandle, SQL_HANDLE hType, RETCODE retcode)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
behavior, String method)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()
at OurCompany.WWWServices.Methodname(XmlNode inputDoc)
Source=iclit09b.dll

I've been unable to figure out, either in the documentation or on the
'net how to change the default timeout. I think it might be possible
within the code, but this is a major problem - we're not about to go
revamp our entire codebase.

If anyone has seen this or has suggestions, we're all ears. So far,
we've tried inserting various things into the connection string,
setting the CONTIME and CONRETRY environment variables in SetNet32.

Our platform is Informix 9.4O with application servers running Win 2k
and Win2k3 server.
Tsutomu Ogiwara
2004-09-14 07:13:05 UTC
Permalink
Hi Eric.

Make sure SQL_QUERY_TIMEOUT of SetStmtOption in M$ .NET manual.

I am not Windows familiar, sorry I can say the avobe all.
--
Tsutomu Ogiwara from Tokyo Japan.
ICQ#:168106592
Subject: timeout using SDK 2.81 TC3 - .NET Managed Provider
Date: 13 Sep 2004 19:55:25 -0700
We have a showstopper issue...after upgrading from SDK 2.7x to 2.81
TC3 (to get the .NET managed provider), we're occasionally running
into timeout errors in .NET applications. Specifically, the.NET code
ERROR [HYT00] [Informix][Informix ODBC Driver]Timeout expired.
ERROR [HY008] [Informix][Informix ODBC Driver][Informix]Statement
interrupted by user.
Stack Trace= at Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr
hHandle, SQL_HANDLE hType, RETCODE retcode)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
behavior, String method)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()
at OurCompany.WWWServices.Methodname(XmlNode inputDoc)
Source=iclit09b.dll
I've been unable to figure out, either in the documentation or on the
'net how to change the default timeout. I think it might be possible
within the code, but this is a major problem - we're not about to go
revamp our entire codebase.
If anyone has seen this or has suggestions, we're all ears. So far,
we've tried inserting various things into the connection string,
setting the CONTIME and CONRETRY environment variables in SetNet32.
Our platform is Informix 9.4O with application servers running Win 2k
and Win2k3 server.
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

sending to informix-list
-=Eric=-
2004-09-16 02:51:48 UTC
Permalink
Apparently, this issue affects the .NET Managed Provider as well as
ODBC. The new driver works correctly, but there's been a change in
the default behavior. Previously, in SDK 2.7, commands did not time
out by default. Now in 2.81 TC3, commands time out after 30 seconds.

The big problem with this is that you must explicitly set the command
timeout in your code. If you have a large installed base of code
already, that's a lot of re-factoring, re-testing, and re-deploying
just to upgrade the driver.

And there appears to be no way to globally change the default timeout
value. If we could set the value to 0 (no timeout), then at least the
new driver's basic behavior would match the old one and save us a lot
of headache.
Post by Tsutomu Ogiwara
Hi Eric.
Make sure SQL_QUERY_TIMEOUT of SetStmtOption in M$ .NET manual.
I am not Windows familiar, sorry I can say the avobe all.
--
Tsutomu Ogiwara from Tokyo Japan.
ICQ#:168106592
Sathyanesh Krishnan
2004-09-15 19:51:48 UTC
Permalink
--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: multipart/alternative;
Boundary="1__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791"

--1__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable






Hi Eric,

Most probably this may be due to the CommandTimeoutt value, by default =
it
is 30 sec.
(Microsoft.Data.Odbc.OdbcCommand.CommandTimeout )
A value of 0 indicates no timeout limit, and will wait indefinitely.

By default the .Net application expects a query to be finish with in 30=

second.
In case if an application issue a query that take more than 30
then the application should explicitly set an appropriate time out valu=
e.

Dim myCommand As New OdbcCommand
myCommand.CommandTimeout =3D 0


Regards,
Satyan

Software Engineer
R&D - IBM Data Management Group
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)



=

Abhishek =

Mathur/Lenexa/IBM =

=
To
09/15/2004 12:35 Sathyanesh =

PM Krishnan/Lenexa/***@IBMUS =

=
cc
=

Subj=
ect
Fw: timeout using SDK 2.81 TC3 -=

.NET Managed Provider =

=

=

=

=

=

=




Hey Satyan,
Did you have a chance to look at this in the IIUG?

Cheers,
Abhi
--------------------------------------------------------------------
There are 10 kinds of people,,,,,
.... those who understand binary notations, and those who don't.
--------------------------------------------------------------------

----- Forwarded by Abhishek Mathur/Lenexa/IBM on 09/15/2004 12:34 PM --=
---
=

***@fakeisp.net =

(-=3DEric=3D-) =

Sent by: =
To
owner-informix-li informix-***@iiug.org =

***@iiug.org =
cc
informix-***@iiug.org, =

owner-informix-***@iiug.org =

09/13/2004 09:55 Subj=
ect
PM timeout using SDK 2.81 TC3 - .NE=
T
Managed Provider =

=

Please respond to =

***@fakeisp.net =

(-=3DEric=3D-) =

=

=





We have a showstopper issue...after upgrading from SDK 2.7x to 2.81
TC3 (to get the .NET managed provider), we're occasionally running
into timeout errors in .NET applications. Specifically, the.NET code
is throwing this:

Error Message :
ERROR [HYT00] [Informix][Informix ODBC Driver]Timeout expired.
ERROR [HY008] [Informix][Informix ODBC Driver][Informix]Statement
interrupted by user.
Stack Trace=3D at Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr=

hHandle, SQL_HANDLE hType, RETCODE retcode)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
behavior, String method)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()
at OurCompany.WWWServices.Methodname(XmlNode inputDoc)
Source=3Diclit09b.dll

I've been unable to figure out, either in the documentation or on the
'net how to change the default timeout. I think it might be possible
within the code, but this is a major problem - we're not about to go
revamp our entire codebase.

If anyone has seen this or has suggestions, we're all ears. So far,
we've tried inserting various things into the connection string,
setting the CONTIME and CONRETRY environment variables in SetNet32.

Our platform is Informix 9.4O with application servers running Win 2k
and Win2k3 server.
=

--1__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Hi Eric,<br>
<br>
<font size=3D"4" face=3D"Times New Roman">Most probably this may be due=
to the CommandTimeoutt value, by default it is 30 sec.</font><br>
<font size=3D"4" face=3D"Times New Roman">(Microsoft.Data.Odbc.OdbcComm=
and.CommandTimeout )</font><br>
<font size=3D"4" face=3D"Times New Roman">A value of 0 indicates no tim=
eout limit, and will wait indefinitely.</font><br>
<br>
<font size=3D"4" face=3D"Times New Roman">By default the .Net applicati=
on expects a query to be finish with in 30 second. </font><br>
<font size=3D"4" face=3D"Times New Roman">In case if an application iss=
ue a query that take more than 30</font><br>
<font size=3D"4" face=3D"Times New Roman">then the application should e=
xplicitly set an appropriate time out value. </font><br>
<br>
<font size=3D"4" face=3D"Times New Roman">Dim myCommand As New OdbcComm=
and</font><br>
<font size=3D"4" face=3D"Times New Roman">myCommand.CommandTimeout =3D =
0</font><br>
<br>
<br>
Regards, <br>
Satyan<br>
<br>
Software Engineer<br>
R&amp;D - IBM Data Management Group<br>
11200 Lakeview, Lenexa, KS 66219<br>
Tel: 913 599 8792 (T/L: 337-8792)<br>
<br>
<img src=3D"cid:10__=***@us.ibm.com" width=3D=
"16" height=3D"16" alt=3D"Inactive hide details for Abhishek Mathur/Len=
exa/IBM">Abhishek Mathur/Lenexa/IBM<br>
<br>
<br>

<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td style=3D"background-image:url(cid:20__=3D08BBE58=
***@us.ibm.com); background-repeat: no-repeat; " wid=
th=3D"40%">
<ul>
<ul>
<ul>
<ul><b><font size=3D"2">Abhishek Mathur/Lenexa/IBM</font></b><font size=
=3D"2"> </font>
<p><font size=3D"2">09/15/2004 12:35 PM</font></ul>
</ul>
</ul>
</ul>
</td><td width=3D"60%">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">Sathyanesh Krishnan/Lenexa/***@IBMUS</font></td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
</td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt=
h=3D"100%"><img src=3D"cid:30__=***@us.ibm.=
com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">Fw: timeout using SDK 2.81 TC3 - .NET Managed Provider=
</font></td></tr>
</table>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0">
<tr valign=3D"top"><td width=3D"58"><img src=3D"cid:30__=3D08BBE583DFFF=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=
=3D""></td><td width=3D"336"><img src=3D"cid:30__=3D08BBE583DFFF67918f9=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><=
/td></tr>
</table>
</td></tr>
</table>
Hey Satyan,<br>
Did you have a chance to look at this in the IIUG?<br>
<br>
Cheers,<br>
Abhi<br>
--------------------------------------------------------------------<br=
There are 10 kinds of people,,,,,<br>
.... those who understand binary notations, and those who don't. <br>
--------------------------------------------------------------------<br=
<br>
<font size=3D"2" color=3D"#800080">----- Forwarded by Abhishek Mathur/L=
enexa/IBM on 09/15/2004 12:34 PM -----</font><br>
<br>

<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td style=3D"background-image:url(cid:40__=3D08BBE58=
***@us.ibm.com); background-repeat: no-repeat; " wid=
th=3D"40%">
<ul>
<ul>
<ul>
<ul><b><font size=3D"2">***@fakeisp.net (-=3DEric=3D-)</font></b><font=
size=3D"2"> </font><br>
<font size=3D"2">Sent by: owner-informix-***@iiug.org</font>
<p><font size=3D"2">09/13/2004 09:55 PM</font>
<table border=3D"1">
<tr valign=3D"top"><td width=3D"168" bgcolor=3D"#FFFFFF"><div align=3D"=
center"><font size=3D"2">Please respond to<br>
***@fakeisp.net (-=3DEric=3D-)</font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width=3D"60%">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td width=3D"1%"><img src=3D"cid:30__=3D08BBE583DFFF=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"58" al=
t=3D""><br>
<div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">informix-***@iiug.org</font></td></tr>

<tr valign=3D"top"><td width=3D"1%"><img src=3D"cid:30__=3D08BBE583DFFF=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"58" al=
t=3D""><br>
<div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">informix-***@iiug.org, owner-informix-***@iiug.org</=
font></td></tr>

<tr valign=3D"top"><td width=3D"1%"><img src=3D"cid:30__=3D08BBE583DFFF=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"58" al=
t=3D""><br>
<div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt=
h=3D"100%"><img src=3D"cid:30__=***@us.ibm.=
com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">timeout using SDK 2.81 TC3 - .NET Managed Provider</fo=
nt></td></tr>
</table>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0">
<tr valign=3D"top"><td width=3D"58"><img src=3D"cid:30__=3D08BBE583DFFF=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=
=3D""></td><td width=3D"336"><img src=3D"cid:30__=3D08BBE583DFFF67918f9=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><=
/td></tr>
</table>
</td></tr>
</table>
<br>
<tt>We have a showstopper issue...after upgrading from SDK 2.7x to 2.81=
<br>
TC3 (to get the .NET managed provider), we're occasionally running<br>
into timeout errors in .NET applications. &nbsp;Specifically, the.NET c=
ode<br>
is throwing this:<br>
<br>
Error Message : <br>
ERROR [HYT00] [Informix][Informix ODBC Driver]Timeout expired.<br>
ERROR [HY008] [Informix][Informix ODBC Driver][Informix]Statement<br>
interrupted by user.<br>
Stack Trace=3D at Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr=
<br>
hHandle, SQL_HANDLE hType, RETCODE retcode)<br>
at Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior<=
br>
behavior, String method)<br>
at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()<br>
at OurCompany.WWWServices.Methodname(XmlNode inputDoc)<br>
Source=3Diclit09b.dll<br>
<br>
I've been unable to figure out, either in the documentation or on the<b=
r>
'net how to change the default timeout. &nbsp;I think it might be possi=
ble<br>
within the code, but this is a major problem - we're not about to go<br=
revamp our entire codebase.<br>
<br>
If anyone has seen this or has suggestions, we're all ears. &nbsp;So fa=
r,<br>
we've tried inserting various things into the connection string,<br>
setting the CONTIME and CONRETRY environment variables in SetNet32.<br>=

<br>
Our platform is Informix 9.4O with application servers running Win 2k<b=
r>
and Win2k3 server.<br>
</tt><br>
</body></html>=


--1__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791--


--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: image/gif;
name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <10__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: image/gif;
name="pic21091.gif"
Content-Disposition: inline; filename="pic21091.gif"
Content-ID: <20__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhWwBlANX/AAAAAEhGSenp6jEyNhMUFyMmKfP59/L29PHy8fPihaOIGu7NSsqnH/v36PXq
1O7bvLibe56CZv78+v/+/f79/Ny0kZmTjrWspcq/t9LIwYVhS+ScdfXz8vn08vTv7dB6WdjQzXx5
eP36+cVfQt/Y1m08MLJBKrhMNJFALunk440tHe/p6OXe3WNhYfn39/f19e/u7sDAwP7+/v39/fv7
+/r6+gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADEALAAAAABbAGUAQAb/wJhw
SCwaj8ikkkjpOB6VymY6jT4cnckSCYJULhVIJHJ5mM+YSjoKWW2Tk81pRK9/7vjNh8qv9vF3D0gk
LRoaEYaHYxCMYmIlJYoZb0wfJpeYJieb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AYxcPGIMICyvTN8IXcd+q2BZluMvpyjA0yNO
MJ4ECUAAlHP0lTm5cnr0E1+g92B913dTsHYU9LBG8ocovyEuugQu3cJlMkAYz4cu/4zRFVewBOm3
ShCRL8yyfmmhR0KlGfaCEAhAAt30Lb3ES+DEZYGRf1VRFeoiLHCzBAKQAZKBMjtUSGzxgdXEejpR
IP1igrnULQfQLeAUUURwHIdBeqYiAhD2BtnyI18SJOUTAvQigj6oE2vlQwuhEdwkABlhglFlg1NI
GfNghd3ng3VxU8KFRBC1dT00TizjcJKhQ++UhcXhECHgdEQwHT1Rch0BAizgUy5TAykgUAdFSWNB
gPnSMTQoeQAzEhKFVDPQdQiDMLIwC9lxAWBFCTXwS91zAISoVKRYiqbYMlYWL3JRFAOQAZ52iq8R
KSSFGy0gh7DYGgIgFwlFFJe3HIaSc4usYQD1ECgrJQ4PAGdGUQD3AIyU8CPESAKiUxuuFAEkpYy1
yIz4oS/NcgEk0AC10QIVoAHL8SWNhY1KQAK1MQDgoEEBgDAtAFMdRACTaI5IYABet4uYNIU5R49P
xgJCRVTjZg9fokn8SAlCcR1DJU8AWUgF+Ro0IC4gIU5c1pAUuQRBAAA7

--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: image/gif;
name="ecblank.gif"
Content-Disposition: inline; filename="ecblank.gif"
Content-ID: <30__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7

--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791
Content-type: image/gif;
name="pic30514.gif"
Content-Disposition: inline; filename="pic30514.gif"
Content-ID: <40__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA
AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCf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5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4senwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvH
ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT
mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw
9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb
jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl
fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA
Ow==

--0__=08BBE583DFFF67918f9e8a93df938690918c08BBE583DFFF6791--

sending to informix-list
Sathyanesh Krishnan
2004-09-16 05:58:28 UTC
Permalink
--0__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: multipart/alternative;
Boundary="1__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F"

--1__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable






Hi Eric,

Thanks Very Much Eric,

Actually this is an expected behavior than a problem.
Based on the CommandTimeout value the .NET provider informs the underly=
ing
ODBC driver to time out the executing query.
ODBC driver then send an interrupt query to database server.

I guess the problem may be on CSDK 2.70 ODBC driver; it fails to interr=
upt
the query.

Can you please give me some more detail regarding the query that the
application is executing.
How long this query takes to execute.
Also how many second after since it starts the execution the applicatio=
n
throwing error etc.

Really appreciate your help.


Regards,
Satyan

Software Engineer
R&D - IBM Data Management Group
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)



=

-=3DEric=3D- =
Post by Sathyanesh Krishnan
=
To
Sathyanesh =

09/15/2004 08:30 Krishnan/Lenexa/***@IBMUS =

PM =
cc
=

Subj=
ect
Please respond to Re: Fw: timeout using SDK 2.81 T=
C3
eric - .NET Managed Provider =

=

=

=

=

=

=





Satyan:

We have been able to avoid the timeout issue by
changing our code. But no such code was required in
SDK 2.7 - commands did not time out be default. This
change in the default behavior is now causing us to
have to change, test, and redeploy all of our code.

Also - I can say for sure that this timeout is not
related to .NET - otherwise, we would have seen
timeouts using SDK 2.7 (assuming we do not explicitly
set the timeout). But this is not what we are seeing
in our tests.

Additionally, we were able today to replicate the
timeout using the managed provider, so this affects
not only ODBC but the managed wrapper as well...

I sincerely appreciate the response...if this
information prompts you or your team to think of any
additional information, I'm sure many people can
benefit from your insight.

-=3DEric=3D-
Post by Sathyanesh Krishnan
Hi Eric,
Most probably this may be due to the CommandTimeoutt
value, by default it
is 30 sec.
(Microsoft.Data.Odbc.OdbcCommand.CommandTimeout )
A value of 0 indicates no timeout limit, and will
wait indefinitely.
By default the .Net application expects a query to
be finish with in 30
second.
In case if an application issue a query that take
more than 30
then the application should explicitly set an
appropriate time out value.
Dim myCommand As New OdbcCommand
myCommand.CommandTimeout =3D 0
Regards,
Satyan
Software Engineer
R&D - IBM Data Management Group
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
Abhishek
Mathur/Lenexa/IBM
To
09/15/2004 12:35 Sathyanesh
PM
cc
Subject
Fw: timeout
using SDK 2.81 TC3 -
.NET Managed
Provider
Hey Satyan,
Did you have a chance to look at this in the
IIUG?
Cheers,
Abhi
--------------------------------------------------------------------
Post by Sathyanesh Krishnan
There are 10 kinds of people,,,,,
.... those who understand binary notations, and
those who don't.
--------------------------------------------------------------------
Post by Sathyanesh Krishnan
----- Forwarded by Abhishek Mathur/Lenexa/IBM on
09/15/2004 12:34 PM -----
(-=3DEric=3D-)
To
owner-informix-li
cc
09/13/2004 09:55
Subject
PM timeout using
SDK 2.81 TC3 - .NET
Managed
Provider
Please respond to
(-=3DEric=3D-)
We have a showstopper issue...after upgrading from
SDK 2.7x to 2.81
TC3 (to get the .NET managed provider), we're
occasionally running
into timeout errors in .NET applications.
Specifically, the.NET code
ERROR [HYT00] [Informix][Informix ODBC
Driver]Timeout expired.
ERROR [HY008] [Informix][Informix ODBC
Driver][Informix]Statement
interrupted by user.
Stack Trace=3D at
Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr
Post by Sathyanesh Krishnan
hHandle, SQL_HANDLE hType, RETCODE retcode)
at
Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior
Post by Sathyanesh Krishnan
behavior, String method)
at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()
at OurCompany.WWWServices.Methodname(XmlNode
inputDoc)
Source=3Diclit09b.dll
I've been unable to figure out, either in the
documentation or on the
'net how to change the default timeout. I think it
might be possible
within the code, but this is a major problem - we're
not about to go
revamp our entire codebase.
If anyone has seen this or has suggestions, we're
all ears. So far,
we've tried inserting various things into the
connection string,
setting the CONTIME and CONRETRY environment
variables in SetNet32.
Our platform is Informix 9.4O with application
servers running Win 2k
and Win2k3 server.
=

--1__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Hi Eric,<br>
<br>
Thanks Very Much Eric, <br>
<br>
Actually this is an expected behavior than a problem. <br>
Based on the CommandTimeout value the .NET provider informs the underly=
ing ODBC driver to time out the executing query. <br>
ODBC driver then send an interrupt query to database server.<br>
<br>
I guess the problem may be on CSDK 2.70 ODBC driver; it fails to interr=
upt the query. <br>
<br>
Can you please give me some more detail regarding the query that the ap=
plication is executing. <br>
How long this query takes to execute.<br>
Also how many second after since it starts the execution the applicatio=
n throwing error etc. <br>
<br>
Really appreciate your help.<br>
<br>
<br>
Regards, <br>
Satyan<br>
<br>
Software Engineer<br>
R&amp;D - IBM Data Management Group<br>
11200 Lakeview, Lenexa, KS 66219<br>
Tel: 913 599 8792 (T/L: 337-8792)<br>
<br>
<img src=3D"cid:10__=***@us.ibm.com" width=3D=
"16" height=3D"16" alt=3D"Inactive hide details for -=3DEric=3D- &lt;er=
***@fakeisp.net&gt;">-=3DEric=3D- &lt;***@fakeisp.net&gt;<br>
<br>
<br>

<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td style=3D"background-image:url(cid:20__=3D08BBE58=
Post by Sathyanesh Krishnan
<font size=3D"2"> </font>
<p><font size=3D"2">09/15/2004 08:30 PM</font>
<table border=3D"1">
<tr valign=3D"top"><td width=3D"168" bgcolor=3D"#FFFFFF"><div align=3D"=
center"><font size=3D"2">Please respond to<br>
eric</font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width=3D"60%">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">Sathyanesh Krishnan/Lenexa/***@IBMUS</font></td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=***@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
</td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=***@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt=
h=3D"100%"><img src=3D"cid:30__=***@us.ibm.=
com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">Re: Fw: timeout using SDK 2.81 TC3 - .NET Managed Prov=
ider</font></td></tr>
</table>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0">
<tr valign=3D"top"><td width=3D"58"><img src=3D"cid:30__=3D08BBE582DFB3=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=
=3D""></td><td width=3D"336"><img src=3D"cid:30__=3D08BBE582DFB3F38F8f9=
***@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><=
/td></tr>
</table>
</td></tr>
</table>
<br>
<tt>Satyan:<br>
</tt><br>
<tt>We have been able to avoid the timeout issue by<br>
changing our code. &nbsp;But no such code was required in<br>
SDK 2.7 - commands did not time out be default. &nbsp;This<br>
change in the default behavior is now causing us to<br>
have to change, test, and redeploy all of our code.<br>
</tt><br>
<tt>Also - I can say for sure that this timeout is not<br>
related to .NET - otherwise, we would have seen<br>
timeouts using SDK 2.7 (assuming we do not explicitly<br>
set the timeout). &nbsp;But this is not what we are seeing<br>
in our tests.<br>
</tt><br>
<tt>Additionally, we were able today to replicate the<br>
timeout using the managed provider, so this affects<br>
not only ODBC but the managed wrapper as well...<br>
</tt><br>
<tt>I sincerely appreciate the response...if this<br>
information prompts you or your team to think of any<br>
additional information, I'm sure many people can<br>
benefit from your insight.<br>
</tt><br>
<tt>-=3DEric=3D-<br>
--- Sathyanesh Krishnan &lt;***@us.ibm.com&gt; wrote:<br> </tt><br> <tt>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi Eric,<br>
&gt;<br>
&gt; Most probably this may be due to the CommandTimeoutt<br>
&gt; value, by default it<br>
&gt; is 30 sec.<br>
&gt; (Microsoft.Data.Odbc.OdbcCommand.CommandTimeout )<br>
&gt; A value of 0 indicates no timeout limit, and will<br>
&gt; wait indefinitely.<br>
&gt;<br>
&gt; By default the .Net application expects a query to<br>
&gt; be finish with in 30<br>
&gt; second.<br>
&gt; In case if an application issue a query that take<br>
&gt; more than 30<br>
&gt; then the application should explicitly set an<br>
&gt; appropriate time out value.<br>
&gt;<br>
&gt; Dim myCommand As New OdbcCommand<br>
&gt; myCommand.CommandTimeout =3D 0<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Satyan<br>
&gt;<br>
&gt; Software Engineer<br>
&gt; R&amp;D - IBM Data Management Group<br>
&gt; 11200 Lakeview, Lenexa, KS 66219<br>
&gt; Tel: 913 599 8792 (T/L: 337-8792)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Abhishek<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mathur/Lenexa/IBM<=
br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp;To<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;09/15/2004 12:35 &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sathyanesh<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PM<br>
&gt; Krishnan/Lenexa/***@IBMUS<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp;cc<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Subject<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p;Fw: timeout<br>
&gt; using SDK 2.81 TC3 -<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p;.NET Managed<br>
&gt; Provider<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hey Satyan,<br>
&gt; &nbsp; &nbsp; &nbsp; Did you have a chance to look at this in the<=
br>
&gt; IIUG?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Abhi<br>
&gt;<br>
--------------------------------------------------------------------<br=
&gt; There are 10 kinds of people,,,,,<br>
&gt; .... those who understand binary notations, and<br>
&gt; those who don't.<br>
&gt;<br>
--------------------------------------------------------------------<br=
&gt;<br>
&gt; ----- Forwarded by Abhishek Mathur/Lenexa/IBM on<br>
&gt; 09/15/2004 12:34 PM -----<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;***@fakeisp.net<b=
r>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(-=3DEric=3D-)<br>=

&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sent by:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp;To<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;owner-informix-li<=
br>
&gt; informix-***@iiug.org<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;***@iiug.org<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp;cc<br>
&gt;<br>
&gt; informix-***@iiug.org,<br>
&gt;<br>
&gt; owner-informix-***@iiug.org<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;09/13/2004 09:55<b=
r>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Subject<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PM &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tim=
eout using<br>
&gt; SDK 2.81 TC3 - .NET<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p;Managed<br>
&gt; Provider<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Please respond to<=
br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;***@fakeisp.net<b=
r>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (-=3DEric=3D=
-)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; We have a showstopper issue...after upgrading from<br>
&gt; SDK 2.7x to 2.81<br>
&gt; TC3 (to get the .NET managed provider), we're<br>
&gt; occasionally running<br>
&gt; into timeout errors in .NET applications.<br>
&gt; Specifically, the.NET code<br>
&gt; is throwing this:<br>
&gt;<br>
&gt; Error Message :<br>
&gt; ERROR [HYT00] [Informix][Informix ODBC<br>
&gt; Driver]Timeout expired.<br>
&gt; ERROR [HY008] [Informix][Informix ODBC<br>
&gt; Driver][Informix]Statement<br>
&gt; interrupted by user.<br>
&gt; Stack Trace=3D at<br>
&gt;<br>
Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr<br>
&gt; hHandle, SQL_HANDLE hType, RETCODE retcode)<br>
&gt; at<br>
&gt;<br>
Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior<br>=

&gt; behavior, String method)<br>
&gt; at Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery()<br>
&gt; at OurCompany.WWWServices.Methodname(XmlNode<br>
&gt; inputDoc)<br>
&gt; Source=3Diclit09b.dll<br>
&gt;<br>
&gt; I've been unable to figure out, either in the<br>
&gt; documentation or on the<br>
&gt; 'net how to change the default timeout. &nbsp;I think it<br>
&gt; might be possible<br>
&gt; within the code, but this is a major problem - we're<br>
&gt; not about to go<br>
&gt; revamp our entire codebase.<br>
&gt;<br>
&gt; If anyone has seen this or has suggestions, we're<br>
&gt; all ears. &nbsp;So far,<br>
&gt; we've tried inserting various things into the<br>
&gt; connection string,<br>
&gt; setting the CONTIME and CONRETRY environment<br>
&gt; variables in SetNet32.<br>
&gt;<br>
&gt; Our platform is Informix 9.4O with application<br>
&gt; servers running Win 2k<br>
&gt; and Win2k3 server.<br>
&gt;</tt><br>
<br>
</body></html>=


--1__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F--


--0__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: image/gif;
name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <10__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: image/gif;
name="pic21961.gif"
Content-Disposition: inline; filename="pic21961.gif"
Content-ID: <20__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA
AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh
EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR
RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH
LZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtCKW3jfz4uMKmq3xu4N0nK
BVoJQmx2LGVOmrqNjjJf2hHAQo/eDwJGTKhQMcgQEEAnEjFS98+RnW3smGkZU6ncCWav/4wYOnAI
TihRL/4FEwbp28BXMMcoscQCVxlepL4IGDSCyJyVQOu0o7CjmLN50OZlqWmyFy5/6yBBuji0AxFR
M00oQAqNIstqI6qKHUsWRAEAvagsmfUEAImyxgbmUpJk3IklNUtJOUAVLoUr1+wqDGTE4zk+T6FG
uQb3SizBCwatiiUgCBN8vrz+zFjVyQ8FWkOlg4NQiZMB5QS8QO3mpOaKnL0Z2EKvNMSILEThKhCg
zMKPVxYJh23qm9KNW7pArPynMqZDiErsTMqI+LRi3QAgkFUbXpuFKhSYZALd0O5RKa2z9EYKBbpb
qxIKsjUPRgD7I2XYV6wyrOw92ykExP8NW4URhknC5dKGE4v4NENQj2jXjmfNgOZDaXb5glRmXQ33
YEWQYNcZFnrYcIQLNzyTFDQNkXIff0ExVlY4srziQk43inZgL4rwxxINMvpFFAz1KOODHiu+4aEw
NEjFl5B3JIKWKF3k6I9bfUGp5ZZcdunll5IA4cuHvQQJ5gcsoCWOOUwgltIwAKRxJgbIkJAQZEq0
2YliZnpZZ4BH3CnYOXldOUOfQoYDqF1LFHbXCrO8xmRsfoXDXJ6ChjCAH3QlhJcT6VWE6FCkfCco
CgrMFsROrIEX3o2whVjWDjoJccN3LdggSGXLCdLEgHr1lyU3O3QxhgohNKXJCWv8JQr/PDdaqd6w
2rj1inLiGeiCJoDspAoQlYE6QWLSECehcWIYxIQES6zhbn1iImTHEQyqJ4eIxJJoUBc+3CbBuwZE
V5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4senwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvH
ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT
mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw
9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb
jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl
fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA
Ow==

--0__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F
Content-type: image/gif;
name="ecblank.gif"
Content-Disposition: inline; filename="ecblank.gif"
Content-ID: <30__=***@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7

--0__=08BBE582DFB3F38F8f9e8a93df938690918c08BBE582DFB3F38F--

sending to informix-list

Loading...