Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old August 20th, 2003, 02:58 PM
aspman aspman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Ashburn,VA
Posts: 105 aspman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 22 m 40 sec
Reputation Power: 6
alternatively, you have what is called an"Oracle odbc test" in oracle->network tools.

test if you can connect through DSN you created.

Reply With Quote
  #17  
Old August 20th, 2003, 07:08 PM
gerire gerire is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Ireland, looking in on the rest of you
Posts: 14 gerire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 7 sec
Reputation Power: 0
Send a message via AIM to gerire
ok I have done as you have done agsuresh here is some screen shots of this test form.
Setting up DSN:


Setting up the ADODC through connection string and using ODBC

The fail

Hope somebody can see how im messing up here

Last edited by gerire : August 20th, 2003 at 08:49 PM.

Reply With Quote
  #18  
Old August 20th, 2003, 08:05 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 36 m 16 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
I don't believe the dsn is set up correctly. It doesn't have a server set up. i.e. where does the actual oracle database reside?

Reply With Quote
  #19  
Old August 21st, 2003, 07:03 AM
gerire gerire is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Ireland, looking in on the rest of you
Posts: 14 gerire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 7 sec
Reputation Power: 0
Send a message via AIM to gerire
ok taking that on boeard i ran the following SQL query through sql*plus
select host_name from v$instance;
and it returned
HOST_NAME
---------------
GER-VYZHXO7I1P5

Entered that into the server space and still the same error as above

Using that host and some other oracle home data for directory start I get this new error

Last edited by gerire : August 21st, 2003 at 07:24 AM.

Reply With Quote
  #20  
Old August 21st, 2003, 08:06 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 36 m 16 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
I found the following link that might help you some with this: http://www.topxml.com/conference/wr...dc/text/dov.asp

Also, I would suggest that you contact the oracle help desk to see if you can get more assistance with this.

Reply With Quote
  #21  
Old August 21st, 2003, 01:06 PM
agsuresh agsuresh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: India
Posts: 5 agsuresh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It seems you are using the Microsoft OLEDB provider for ODBC.
Try again using (1) the Oracle provider for OLEDB OR (2)Microsoft OLEDB provider for ORACLE.
1 should have been installed by Oracle and the second comes from Microsoft.

Also check the 9i documentation. "i" stands for networking , which means you may have to do additional setup of the database such as domains, permissions etc Check the installation if the ODBC drivers were correctly installed. some of these drivers are platform specific ie (win 95/98/me) & (NT/XP/2000/2003) Mostly i-series should be installed on the letter platform.

Suresh

Reply With Quote
  #22  
Old August 25th, 2003, 09:04 AM
gerire gerire is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Ireland, looking in on the rest of you
Posts: 14 gerire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 7 sec
Reputation Power: 0
Send a message via AIM to gerire
I want to thank you all for your help on this matter, it appears in hinsight that the actual Oracle wasnt right. I uninstalled it all and reinstalled with the help from the following site: http://www.coade.com/cadworx/pid/Oracle9i.htm
It helped through the entire setting up DSN and everything.
Thanks again Onslaught
Hope to be around more
Ger

Reply With Quote
  #23  
Old August 25th, 2003, 01:36 PM
Kronique Kronique is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Danbury,CT
Posts: 14 Kronique User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
skip the "driver={};" part, just use "dsn=..."

Reply With Quote
  #24  
Old August 25th, 2003, 06:57 PM
gerire gerire is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Ireland, looking in on the rest of you
Posts: 14 gerire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 7 sec
Reputation Power: 0
Send a message via AIM to gerire
yup that was it actually here's the code i used if anybody else does need this help in the future
Code:
  Set conn = New ADODB.Connection
   
    conn.ConnectionString = _
    "Provider=MSDASQL.1;Persist Security Info=False;" & _
    "User ID=system;Password=manager1;Data Source=P&ID_ORACLE"
 'Set RecordSet
 Dim rs As ADODB.Recordset
 Set rs = New ADODB.Recordset
 conn.Open

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > What am I doing wrong?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT