Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2003, 07:48 AM
Registered User
 
Join Date: Oct 2003
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



 
Old October 20th, 2003, 05:13 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
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
 
Old October 21st, 2003, 02:11 AM
Registered User
 
Join Date: Oct 2003
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

 
Old October 21st, 2003, 03:52 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
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
 
Old October 22nd, 2003, 07:41 AM
Registered User
 
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sal,

I still get the same error message

 
Old October 22nd, 2003, 09:15 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
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
 
Old December 17th, 2004, 11:08 AM
Registered User
 
Join Date: Dec 2004
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







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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.