Unix Technical Forum

Problems with [Microsoft][ODBC driver for Oracle][Oracle]

This is a discussion on Problems with [Microsoft][ODBC driver for Oracle][Oracle] within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hello all, I have a VB application that is running fine in prod on a box without the .net ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:46 PM
pitdog@gmail.com
 
Posts: n/a
Default Problems with [Microsoft][ODBC driver for Oracle][Oracle]

Hello all,

I have a VB application that is running fine in prod on a box without
the .net framework installed. The app queries a Oracle 8.1.7 64 bit
database. It uses the Microsoft ODBC Driver for Oracle and it works
like a champ. However I am adding some enhancements to this application
and on my local machine I have the the .NET framework installed of
course. And I am finding that my simple select statement below is
failing.

Select * From is_sec_ipass Where TO_CHAR(start_time,'yyyymm') =
'200505' And type = 'I'

I looked at the driver version on the production box as well as my box
and this is what I have found.

Prd driver = 2.573.7713.00
my box = 2.573.7713.00

Is there something I am missing here? I even stripped down the query to
this SELECT * FROM ISSEC_DB.IS_SEC_IPASS and it still bombs out.

Here is the error I get.
Error (-2147217900): [Microsoft][ODBC driver for
Oracle][Oracle]ORA-00900: invalid SQL statement

This is just killing me. Any insight you have would be great.

Thanks,
Pitdog

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:46 PM
pitdog@gmail.com
 
Posts: n/a
Default Re: Problems with [Microsoft][ODBC driver for Oracle][Oracle]

Sorry I messed up on the driver version numbers

Prd driver = 2.573.7713.00
my box = 2.573.9030.00

They are different.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:46 PM
LuckyMe
 
Posts: n/a
Default Re: Problems with [Microsoft][ODBC driver for Oracle][Oracle]

I had the same problem for the past few days. I think it has to do more
with the Oracle client installed on the machine.

I had installed Orcale 9i client on the user machine and tried to run
the vb application. I was getting the same error. So I uninstalled the
Oracle 9i client and installed Oracle 8.0 client. And as I had guessed,
the application ran perfectly fine. Now I am installing Oracle 8.0
client on each user machine before distributing the application.

Looks like the Microsoft ODBC oracle driver cannot work in sync with
Oracle 9i client. I would recommend you try uninstalling Oracle 9i and
install a previous version.





*** Sent via Developersdex http://www.developersdex.com ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 09:46 PM
pitdog@gmail.com
 
Posts: n/a
Default Re: Problems with [Microsoft][ODBC driver for Oracle][Oracle]

Hey Lucky Thanks for the help. I will check it out tomorrow in the am.
Fingers crossed.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 09:46 PM
pitdog@gmail.com
 
Posts: n/a
Default Re: Problems with [Microsoft][ODBC driver for Oracle][Oracle]

Hey Lucky no dice on this. The DB is a 8.1 db and that client I am
using is the correct one. I have opened a ticket with the DBA's here I
am hoping they can shed some light on this issue. I will post back if I
find an answer.

PD

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com