Re: ADO Connection - Fails - Unspecified Error
- From: "Barry Hall" <pace@xxxxxxxxxxx>
- Date: Tue, 24 Jan 2006 15:42:52 -0000
hi Jack!
I have had a quick look and I think what you will read here will be of
benefit: http://www.vbcity.com/forums/topic.asp?tid=3368
If you read through there are other links in the article that you also might
find useful.
HTH - Pace
"Jack" <jack@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uQe5Wg4$FHA.1268@xxxxxxxxxxxxxxxxxxxxxxx
>I have a VB6 application that runs fine on all my machines but one. On
>this machine when I run the application (as an exe or in vb) I get an
>unspecified error for each of the ADODC controls that is referenced by a
>text box (the
> text box's datasource is the control and the datafield is a field in the
> table).
>
> This only occurs when there are items that reference the control and they
> reference a field.
>
> If I add a new text box and connect it to the ADODC (data Source) it is
> fine however if I drop down the list for the datafields I get the
> unspecified error.
>
> The ADODC uses a System DSN with a SQLServer driver. The DSN connects
> fine to the DB, I have used both Windows NT Auth as well as connect using
> sa. The ADODC's record source is a sql select (I tried both specifying the
> columns as well as select *).
>
> I can connect to the database using enterprise manager as well as the
> query tool and Excel. I am also able to connect and insert/delete data
> using SQL Query Analyzer, so I do not believe it is a permissions issue.
>
> If I manually create the connection and then step through the errors
> collection I get:
>
> Description: Unspecified error
> Source: Provider
> SQL State:
> Native Error: -2147467259
>
>
> I am not sure what to try next, has anyone see this before??
>
> Jack
>
>
>
>
.
- Prev by Date: Re: ADO Connection - Fails - Unspecified Error
- Next by Date: Re: how to copy selected rows in vb.net
- Previous by thread: Re: ADO Connection - Fails - Unspecified Error
- Next by thread: Re: how to copy selected rows in vb.net
- Index(es):
Relevant Pages
- ADO Connection - Fails - Unspecified Error
... I have a VB6 application that runs fine on all my machines but one. ... This
only occurs when there are items that reference the control and they ... I am also
able to connect and insert/delete data using SQL ... (microsoft.public.vb.database.dao) - ADO Connection - Fails - Unspecified Error
... I have a VB6 application that runs fine on all my machines but one. ... This
only occurs when there are items that reference the control and they ... I am also
able to connect and insert/delete data using SQL ... (microsoft.public.data.ado) - RE: Trying to clean up null on close
... To get the value of the control, it needs to be outside the quotes. ... You
need to concatenate the form reference to the string. ... Dim strSQL as String ...
In looking at the SQL statement, ... (microsoft.public.access.formscoding) - Re: ADO Connection - Fails - Unspecified Error
... >unspecified error for each of the ADODC controls that is referenced by a ...
> This only occurs when there are items that reference the control and they ...
> using SQL Query Analyzer, so I do not believe it is a permissions issue. ... (microsoft.public.data.ado) - SQL Aic Problem
... The server encountered a transport error while processing the ... messaging
port "GPSD Ackermann ORDER SQL Port", ... Unspecified error ... (microsoft.public.biztalk.general)