473,321 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

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

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

Note: This message was previously posted in dotnet.distributed_apps. I
apologize for that mistake.
Jul 21 '05 #1
1 13867
Hi,

if you don't have oci.dll in your ora*/bin folder, your oracle client is
incomplete and nothing will work.

Also 8.0.5 is a version the guys at oracle will not confirm they ever
released it ;-)

Upgrade to at least the 8.1.7 client or 9.2 - these should work with
ASP.net.
(you can download the SW from oracle.com)

Waste your diskspace with an Administrative Install (not runtime only) - be
patient, the installer is 300% Java.

Regards,
Walter

"rotarinn" <ro******@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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

Note: This message was previously posted in dotnet.distributed_apps. I
apologize for that mistake.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Randy Crockett | last post by:
I have created a very simple DLL in VC++ 6.0, then created a very simple App in VC++ 6.0 to use the DLL and this works fine When I try to use the same DLL in C#, with DLLImport, the app finds the...
1
by: Muscha | last post by:
Hello, Every now and then my application throw this exception: "Unable to read data from the transport connection" And when I break into the Visual Studio, the thread where it failed has...
2
by: thorax | last post by:
I'm having problems running a release build of an application. The application is a native C++ .NET 2003 MFC application which links to a number of other DLLs, one of which is mixed (SLGSE.dll)...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
1
by: rotarinn | last post by:
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...
5
by: Joăo Santa Bárbara | last post by:
hi there i have this error in VS2005 DEV Edition "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." i have create an windows...
6
by: eric.goforth | last post by:
Hello, I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a reference to it in a VB6 DLL that I'm calling from a Classic ASP page. Previously I was able to attach to my .NET...
4
by: Oriane | last post by:
Hi there, on IIS 5.0, when I contact my asmx Web service page, I get an error message on IE and the event log gives me this error: "App domain cannot be created". So the asmx page is containing...
4
by: joesri | last post by:
i have received an "Unable to load dll ".dll". The Specified module could not be found " while running ASP.NET Web Page. I have placed dll and supported dll in wwwroot\bin directory,but it is not...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.