|
IDS Forum
Re: Informix + Ole Db extrange problem
Posted By: Sathyanesh Krishnan Date: Thursday, 22 January 2004, at 6:50 p.m.
In Response To: Informix + Ole Db extrange problem (Jesus Antonio Santos Giraldo )
--0__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: multipart/alternative; Boundary="1__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520"
--1__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable
Hi Jesus Anton,
I am from the IBM Informix OLEDB Provider development team. Thanks very much for bringing this into our attention. I will take appropriate step to rectify this problem.
Can you please help us by giving a simplified form of the application t= hat reproduces the problem. (Zip of the .Net C# application and the SQL script to create table sche= ma at the database side.)
Even though you have mentioned that you have attach a .cs and .txt file= , it is not actually in the original mail. It will be a great help if you can pass pass the repro to us.
Thanks, Satyan.
|---------+----------------------------> | | "Jesus Anton...."| | | <jeansagi@myrealb| | | ox.com> | | | Sent by: | | | forum.subscriber@| | | iiug.org | | | | | | | | | 01/22/2004 05:19 | | | PM | |---------+----------------------------> >--------------------------------------------------------------------= ----------------------------------------------------------| | = | | To: ids@iiug.org = | | cc: = | | Subject: Informix + Ole Db extrange problem [2476] = | >--------------------------------------------------------------------= ----------------------------------------------------------|
Hi All,
A contractor of our company has been receiving the following error message while trying to insert data(150 bytes) into a byte column of an=
informix table:
E_OUTOFMEMORY(0x8007000E)
He is using Visual Studio .NET (2003) and C# and Ole.DB.
Informix database is IDS 9.3 9.30.HC2W8 running on HP-UX 11.0.
The clients used were:
Windows 2000(SP6) with .Net framework installed, Client connect2.80tc1 Windows XP(SP1) with .Net framework installed, Client connect2.80tc1
The confusing part is that when he try to insert a null into the byte column it works and no error message is returned, but when he try to insert one-byte or two-byte... or 150-byte, etc; he get the E_OUTOFMEMORY error.
Previosuly he inserted data in the same table with ODBC with no problem=
but now that he is using Ole.Db the inserts to byte columns are not working properly.
Other problem is that no much information is given when the insert fail= s in the exception mechanism of C#...
Attached is an extract of the code : problemcod.cs And the esxception trace : trace.txt
Is there any configuration related to Ole.DB in the server that I must take care of?
Any help would be very appreciated.
--
Atte,
Jesus Antonio Santos Giraldo ----------------------------------- jeansagi@myrealbox.com jeansagi@netscape.net
Imposible transferir los datos hacia la tabla destino, Error: La informaci=F3n del error no est=E1 disponible: E_OUTOFMEMORY(0x800700= 0E). -- -- at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32= hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tag= DBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehav= ior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at COSTOSABC.EjecutaTransferencia.CargarObjetoBlobServer() in c:\costosabc\costosabc\ejecutatransferencia.cs:line 1701System.Data.OleDb.OleDbException: La informaci=F3n del error no = est=E1 disponible: E_OUTOFMEMORY(0x8007000E). at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(In= t32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tag= DBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehav= ior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at COSTOSABC.EjecutaTransferencia.CargarObjetoBlobServer() in c:\costosabc\costosabc\ejecutatransferencia.cs:line 1701 =
--1__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable
<html><body> <p><font size=3D"4" face=3D"Times New Roman">Hi </font><b><font size=3D= "2">Jesus Anton</font></b><font size=3D"4" face=3D"Times New Roman">,</= font><br> <br> <font size=3D"4" face=3D"Times New Roman">I am from the IBM Informix OL= EDB Provider development team. </font><br> <font size=3D"4" face=3D"Times New Roman">Thanks very much for bringing= this into our attention. </font><br> <font size=3D"4" face=3D"Times New Roman">I will take appropriate step = to rectify this problem. </font><br> <br> <font size=3D"4" face=3D"Times New Roman">Can you please help us by giv= ing a simplified form of the application that reproduces the problem. <= /font><br> <font size=3D"4" face=3D"Times New Roman">(Zip of the .Net C# applicati= on and the SQL script to create table schema at the database side.) </f= ont><br> <br> <font size=3D"4" face=3D"Times New Roman">Even though you have mentione= d that you have attach a .cs and .txt file, it is not actually in the o= riginal mail. </font><br> <font size=3D"4" face=3D"Times New Roman">It will be a great help if yo= u can pass pass the repro to us.</font><br> <br> <br> Thanks,<br> Satyan.<br> <br> <img src=3D"cid:10__=3D08BBE4B0DF1115208f9e8a93df938@us.ibm.com" width=3D= "16" height=3D"16" alt=3D"Inactive hide details for "Jesus Anton..= .." <jeansagi@myrealbox.com>">"Jesus Anton...." &l= t;jeansagi@myrealbox.com><br> <br> <br>
<table V5DOTBL=3Dtrue width=3D"100%" border=3D"0" cellspacing=3D"0" cel= lpadding=3D"0"> <tr valign=3D"top"><td width=3D"1%"><img src=3D"cid:20__=3D08BBE4B0DF11= 15208f9e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"72" al= t=3D""><br> </td><td style=3D"background-image:url(cid:30__=3D08BBE4B0DF1115208f9e8= a93df938@us.ibm.com); background-repeat: no-repeat; " width=3D"1%"><img= src=3D"cid:20__=3D08BBE4B0DF1115208f9e8a93df938@us.ibm.com" border=3D"= 0" height=3D"1" width=3D"225" alt=3D""><br>
<ul> <ul> <ul> <ul><b><font size=3D"2">"Jesus Anton...." <jeansagi@myreal= box.com></font></b><br> <font size=3D"2">Sent by: forum.subscriber@iiug.org</font> <p><font size=3D"2">01/22/2004 05:19 PM</font></ul> </ul> </ul> </ul> </td><td width=3D"100%"><img src=3D"cid:20__=3D08BBE4B0DF1115208f9e8a93= df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> <font size=3D"1" face=3D"Arial"> </font><br> <font size=3D"2"> To: </font><font size=3D"2">ids@iiug.org</font><br> <font size=3D"2"> cc: </font><br> <font size=3D"2"> Subject: </font><font size=3D"2">Informix + Ole Db ex= trange problem [2476]</font></td></tr> </table> <br> <br> <br> <tt>Hi All,<br> </tt><br> <tt>A contractor of our company has been receiving the following error<= br> message while trying to insert data(150 bytes) into a byte column of an= <br> informix table:<br> </tt><br> <tt>E_OUTOFMEMORY(0x8007000E)<br> </tt><br> <tt>He is using Visual Studio .NET (2003) and C# and Ole.DB.<br> </tt><br> <tt>Informix database is IDS 9.3 9.30.HC2W8 running on HP-UX 11.0.<br> </tt><br> <tt>The clients used were:<br> </tt><br> <tt>Windows 2000(SP6) with .Net framework installed, Client connect2.80= tc1<br> Windows XP(SP1) with .Net framework installed, Client connect2.80tc1<br= > </tt><br> <br> <tt>The confusing part is that when he try to insert a null into the by= te<br> column it works and no error message is returned, but when he try to<br= > insert one-byte or two-byte... or 150-byte, etc; he get the<br> E_OUTOFMEMORY error.<br> </tt><br> <tt>Previosuly he inserted data in the same table with ODBC with no pro= blem<br> but now that he is using Ole.Db the inserts to byte columns are not<br>=
working properly.<br> </tt><br> <tt>Other problem is that no much information is given when the insert = fails<br> in the exception mechanism of C#...<br> </tt><br> <tt>Attached is an extract of the code : problemcod.cs<br> And the esxception trace : trace.txt= <br> </tt><br> <tt>Is there any configuration related to Ole.DB in the server that I m= ust<br> take care of?<br> </tt><br> <tt>Any help would be very appreciated.<br> </tt><br> <br> <tt>--<br> </tt><br> <tt>Atte,<br> </tt><br> <tt>Jesus Antonio Santos Giraldo<br> -----------------------------------<br> jeansagi@myrealbox.com<br> jeansagi@netscape.net<br> </tt><br> <tt>Imposible transferir los datos hacia la tabla destino, Error: La in= formaci=F3n del error no est=E1 disponible: E_OUTOFMEMORY(0x8007000E). = -- -- at System.Data.OleDb.OleDbCommand.ExecuteComma= ndTextErrorHandling(Int32 hr)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tag= DBPARAMS dbParams, Object& executeResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& execut= eResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavi= or, Object& executeResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior= behavior, String method)<br> at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()<br> at COSTOSABC.EjecutaTransferencia.CargarObjetoBlobServer() in c:\costos= abc\costosabc\ejecutatransferencia.cs:line 1701System.Data.OleDb.OleDbE= xception: La informaci=F3n del error no est=E1 disponible: E_OUTOFMEMOR= Y(0x8007000E).<br> at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32= hr)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tag= DBPARAMS dbParams, Object& executeResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& execut= eResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavi= or, Object& executeResult)<br> at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior= behavior, String method)<br> at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()<br> at COSTOSABC.EjecutaTransferencia.CargarObjetoBlobServer() in c:\costos= abc\costosabc\ejecutatransferencia.cs:line 1701</tt>
</body></html>=
--1__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520--
--0__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <10__=08BBE4B0DF1115208f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7
--0__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: <20__=08BBE4B0DF1115208f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7
--0__=08BBE4B0DF1115208f9e8a93df938690918c08BBE4B0DF111520 Content-type: image/gif; name="pic29027.gif" Content-Disposition: inline; filename="pic29027.gif" Content-ID: <30__=08BBE4B0DF1115208f9e8a93df938@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+zFjVyQ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4B0DF111520--
Messages In This Thread
IDS Forum is maintained by Administrator with WebBBS 5.12.
|
|