Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

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 ASP Free Forums Sponsor:
  #1  
Old March 12th, 2003, 09:06 AM
evelin evelin is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 6 evelin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Dot.NET Oracle database problem

Situation:<br>We’re supposed to connect to the test Database(Oracle 9i) in a remote server from a local PC using VB.net.<br><br>The 2 providers we tested are:<br>Microsoft OLE DB provider for Oracle<br>Microsoft OLE DB provider for ODBC drivers<br><br>We’re not sure if they are the correct ones to be used.<br><br>When we tested the connection with “Microsoft OLE DB provider for Oracle”. The following data link error was prompted.<br><br>Error message :<br>“Test connection failed becos of an error in initializing provider. Oracle Client and Networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.”<br><br>Next we tested the connection with “Microsoft OLE DB provider for ODBC drivers”.( which is also another driver for .NET and Oracle). The connection test was successful. We are able to preview the tables in the DB <br>However, when we try to drag a table from the solution explorer into the web-form the following error was shown. <br><br>Error message : “You cannot use an OLE DB provider for ODBC drivers.”<br><br>Please recommend us any drivers you think would be appropriate to connect Microsoft visual studio .NET and Oracle DB that is currently being used.<br><br>Also should we install the driver in our local PC or in the remote server side where the DB is located?<br><br>Also we’re not sure about what the problem really is. Please advice us and provide us with any assistance.

Reply With Quote
  #2  
Old December 2nd, 2003, 11:01 AM
dpenot dpenot is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 dpenot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool

Hi,

When you try to connect to an oracle database, you have to have installed the Oracle Middleware called Net8 before. To install the drivers, you should have them on your server's CDs. You can install only the client part of the software. After this you have to configure a file called tnsnames.ora which will make the connection between the client and the server. To configure this file, please refer to the examples provided with oracle 9i.

Once you have done that, you should be able to connect to your database throught the Oracle OLEDB driver you will have installed.

I hope it will help !

Denis

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Dot.NET Oracle database problem


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