|
Home > Archive > Sybase ODBC > April 2004 > Error -2147467259 ???
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error -2147467259 ???
|
|
| Marcel Kränzle 2004-04-28, 12:34 pm |
| Hi NG,
I've written an usercontrol, which contains a label, textbox and up/down
control. If I want to use a Sybase-database If I use the adodc- and my
usercontrol, I always got an error (-2147467259). I tested two different
cases.
Case 1: using the odbc-driver
This case really works fine, but if I want to update the sybase-datasource I
got an error
Case 2: using the ole-db driver
In this case I got often more errors. If I ignore this error, it works. The
database update works also.
If I use not the user-control, but the label- and text-controls there isn't
any error?
Please can somebody tell me, what's error -2147467259 exactly. How can I
avoid this error?
Regards
Marcel
VB6 - SP6
MDAC 2.8
SYODASE.DLL 4.10
| |
|
| I am not really sure about that error.
It sounds like the infamous "unspecified error"
You should maybe post some code, or get an odbc trace (also with both odbc
and
oledb get a TDS trace if you know how to use RIBO).
Maybe something is not get setup properly. It is hard to tell with limited
info'
Paul
"Marcel Kränzle" <x@x> wrote in message news:408fd5d2$1@forums-1-dub...
> Hi NG,
>
> I've written an usercontrol, which contains a label, textbox and up/down
> control. If I want to use a Sybase-database If I use the adodc- and my
> usercontrol, I always got an error (-2147467259). I tested two different
> cases.
> Case 1: using the odbc-driver
> This case really works fine, but if I want to update the sybase-datasource
I
> got an error
> Case 2: using the ole-db driver
> In this case I got often more errors. If I ignore this error, it works.
The
> database update works also.
> If I use not the user-control, but the label- and text-controls there
isn't
> any error?
>
> Please can somebody tell me, what's error -2147467259 exactly. How can I
> avoid this error?
>
> Regards
> Marcel
>
>
> VB6 - SP6
> MDAC 2.8
> SYODASE.DLL 4.10
>
>
| |
| Andy Turiansky [TeamSybase] 2004-04-29, 1:34 pm |
| Try turning trace on by prefacing the DBMS paramater with TRACE
ie.. DBMS = TRACE SYB
This will log additional information about the erro ryou are getting in a file
named: pbtrace.log
On 28 Apr 2004 09:03:30 -0700,
in sybase.public.connectivity.odbc
Marcel Kränzle <x@x> wrote:
>Hi NG,
>
>I've written an usercontrol, which contains a label, textbox and up/down
>control. If I want to use a Sybase-database If I use the adodc- and my
>usercontrol, I always got an error (-2147467259). I tested two different
>cases.
>Case 1: using the odbc-driver
>This case really works fine, but if I want to update the sybase-datasource I
>got an error
>Case 2: using the ole-db driver
>In this case I got often more errors. If I ignore this error, it works. The
>database update works also.
>If I use not the user-control, but the label- and text-controls there isn't
>any error?
>
>Please can somebody tell me, what's error -2147467259 exactly. How can I
>avoid this error?
>
>Regards
> Marcel
>
>
>VB6 - SP6
>MDAC 2.8
>SYODASE.DLL 4.10
>
>
|
|
|
|
|