Re: ADO recordset, Oracle and Windows2000



What is the version of the Oracle client utilities you have on the machine
that works and on the machine that doesn't? You might want to try using the
same Oracle client version on both. If you are using the Microsoft OLEDB
provider for Oracle, then I would suggest you use either the Oracle 7 or 8
client because there are some known issues with the Oracle 9 client.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Regards,
Uwa Agbonile[MSFT]

"FrustratedLead" <FrustratedLead@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:170273BC-079B-4B98-BA0B-3AC17C6BBF49@xxxxxxxxxxxxxxxx
> I manage a project that has an application written in VB6. It was
originally
> developed for an NT platform, but has been residing on Windows 2000 Pro
for
> several months now. There have been no problems connecting to and
retrieving
> data from the Oracle 9i database.
>
> Just recently, the developer changed the app so that it now uses ADO
> controls (it was using RDO). When stepping through the code we found that
> the initial query is only retrieving "64" records, no matter what
parameters
> are put in the SQL statement. And when it gets to the "rs.MoveNext"
> statement, an error is raised that states:
>
> -2147217906 [Oracle][ODBC]Invalid bookmark value.
>
> Here are portions of the source code:
> ***********
> Public ActiveConn as New ADODB.connection
> Dim rs as New ADODB.recordset
>
> NotamSQL = "select * from notam_view where NOTAM_ORIGIN_DTG >=
> '200526051200' and NOTAM_ORIGIN_DTG < '200526051300' order by NOTAM_ID"
>
> rs.Open NotamSQL, ActiveConn, adOpenKeyset
> ************
>
> The exact same code (with the ADO controls) works fine on the WindowsNT
> platform. We have tried everything including replacing DLLs on the 2000
> machine, but nothing has solved the problem.
>
> Does anyone know...what are we missing/not seeing with regard to the ADO
> controls?
>
> Thanks,
> FrustratedLead


.



Relevant Pages

  • Re: Asp.net / iis / oracle problem - never mind , i think i found
    ... Installed Oracle Client software on Server ... My DBA had to create synonyms for the account used to access the database to ... later client software installation. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Oracle Client and ADO.NET
    ... I was reading thru some documents and it seems that an oracle client ... installation, Rapid App Dev Installation, etc... ... Of course I can use OLEDB/ODBC providers instead if this doesn't ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Trying to Connect SSIS to Oracle on x64
    ... I'm trying to get SSIS to connect to Oracle on 64-bit, ... The Oracle client can connect to the server and the connection tests ok. ... Reinstalled the full Oracle client x64. ... It's as if the Microsoft drivers don't know Oracle is installed, ...
    (microsoft.public.sqlserver.dts)
  • Re: Trying to Connect SSIS to Oracle on x64
    ... Joseph got his package to run. ... I'm trying to get SSIS to connect to Oracle on 64-bit, ... The Oracle client can connect to the server and the connection tests ... String on Microsoft's ODBC drivers. ...
    (microsoft.public.sqlserver.dts)
  • Asp.net / iis / oracle problem
    ... box does not think that the Oracle Client is not installed... ... Oracle client and networking components were not found. ... later client software installation. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.dotnet.framework.aspnet)