Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 20th, 2003, 07:48 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default connect Oracle from VB

I try to connect Oracle from VB project, but I don't want to install Oracle client on the user machine. Instead,I want to use the Oracle client on the server.

The error I get:

"The Oracle(tm) client and networking components were not found. These components are supplied by Oracle corporation and are part of the Oracle Version 7.3(or greater) client software installation.
You will be unable to use this driver until these components have been installed"

How can I solve it ?

Thanks



  #2 (permalink)  
Old October 20th, 2003, 05:13 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How esactly are you trying to connect? Are you using a DSN?
I had a similar problem, please show code.

Thanks

Sal
  #3 (permalink)  
Old October 21st, 2003, 02:11 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here the code I use:

strCnn = "Provider=MSDASQL;DRIVER={Microsoft ODBC for ORACLE};UID=visit;PWD=visit;Server=kvilot"
conDB.Open strCnn

Thanks

David

  #4 (permalink)  
Old October 21st, 2003, 03:52 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Conn = "UID=*****;PWD=*****;driver=" _
         & "{Microsoft ODBC for Oracle};SERVER=dseOracle;"

This is basically what I used. It worked.

Sal
  #5 (permalink)  
Old October 22nd, 2003, 07:41 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sal,

I still get the same error message

  #6 (permalink)  
Old October 22nd, 2003, 09:15 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is driving me crazy as well, It did not work on my home machine without Oracle installed. It only worked with the one that has Oracle. I tried it last night.
I think it is not working because the OLEDB provider is not installed. I will try to find a place to download just that.
Oracle's documentation does need some revamping.

Sal
  #7 (permalink)  
Old December 17th, 2004, 11:08 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had similar problems. Eventually fixed it.

Security thing - add the user aspnet to the oracle (or other database) home directory, give them full access. Then restart IIS (Goto cmd prompt and run iisreset).

Worked for me - hopefully will work for you !

:D


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Oracle. rupen Classic ASP Databases 0 August 18th, 2008 02:50 AM
how to connect the oracle with c# .net bhasker_braj121 General .NET 1 June 19th, 2007 10:34 AM
Trying to connect to an oracle database aviand VS.NET 2002/2003 0 August 23rd, 2006 12:31 PM
Best method to connect Oracle from VB vijayma Oracle 1 January 28th, 2005 06:04 PM
Using PHP to connect to Oracle cooldude87801 Oracle 2 June 4th, 2004 12:43 AM



All times are GMT -4. The time now is 07:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.