Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / October 2004

Tip: Looking for answers? Try searching our database.

Oracle: "Unable to load dll (oci.dll)"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rotarinn - 24 Sep 2004 12:51 GMT
Hi,
I am using VisualStudio.NET 2003 trying to connect to an Oracle Database
(version 8.0.5).  I have created the connection using "Microsoft
OleDBProvider for Oracle" and when I click on Test connection, I get a
message showing "Test connection succeeded".  

However, when I try to drag a table from the connection into a dataset, I
get the following message: "The connection could not be opened due to the
following error:  Unable to load DLL (oci.dll)"

I have read a few posts regarding this error message but most of them seem
to be related to ASP.NET.  Since I am only creating a Windows Forms
application, I believe the ASP.NET permissions shouldn't be an issue here.  I
don't even have IIS installed on my computer.

I have been trying to locate the oci.dll file, but all I could find was a
file named ociw32.dll in the ORANT/BIN folder.  

Do you guys have any idea what I should do???

Best regards,
-rotarinn

System info:
VisualStudio.NET 2003
Oracle 8.0.5.
Windows 2000 Professional
s_cnot - 24 Sep 2004 21:49 GMT
Are you trying to create a Typed Dataset ?
For Stored Proc return result-set, we just went ahead and keyed in the
schema/xml to create the dataset, with the table field names.
Leon Welicki - 08 Oct 2004 11:35 GMT
rotarin,

I had the same problem and fixed it giving read, read & execute and list
folder contents permissions to the account running the process onto the
directory where the oracle dlls are.

Anyway, I guess you need Oracle 8.1.7 or later in order to use the Microsoft
.NET Data Provider for Oracle

Regards,
Leon

> Hi,
> I am using VisualStudio.NET 2003 trying to connect to an Oracle Database
[quoted text clipped - 23 lines]
> Oracle 8.0.5.
> Windows 2000 Professional

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.