Asp.net Unable To Load Dll Oci.dll
It is probably not related to just ASP.NET. You may want to start by adding the IUSR_machinename and IWAM_machinename to the Oracle folder where the Oracle client resides and give them Full control. I had Oracle directories on two drives. userName="SYSTEM" password="AutoGenerate" and
Rachel Red Flag This Post Please let us know here why this post is inappropriate. It works on many operating systems, in many languages. Visit Chat Linked 544 How to enable assembly bind failure logging (Fusion) in .NET 0 c# - probing privatePath is not working Related 0Application cannot open connection to Oracle database - The oci.dll is located on my computer in the oracle/bin directory.
Join Us! *Tek-Tips's functionality depends on members receiving e-mail. Close Box Join Tek-Tips Today! I apologize for that mistake. Hello and welcome to PC Review.
If the .NET part is running in 64 bit mode, it'll be looking for the 64 bit native OCI DLLs. There could be a bitness mismatch. After all of this I still get the error message listed above. Give ASPNET modify priveliges on the Oracle directory.
On a 64 bit system, the task manager can tell you whether the process is 32 or 64 bit. 32 bit processes are marked with *32. Looks like there's actually an exception thrown within the System.Data.OracleClient namespace...
There seems to be stuff on Google. I don't understand what the problem is. https://bytes.com/topic/net/answers/116203-oracle-unable-load-dll-oci-dll But still facing same issue.
For a real fix and production environment you need to discover the minimum rights the account needs to load the oracle driver. I also checked to make sure that the connection string in my application had the correct host name for each machine. edit: Now that I think about it, oci.dll is part of the oracle client installation. I am glad that I could help.
When using an ASP or ASP.NET application, everything has to go through security checks. Join & Ask a Question Need Help in Real-Time? Note that OraOps10.dll belongs to Oracle 10g. Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We
Restart IIS. This error shows up when I try to run this application on another machine. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by HomeForumsProgrammersWeb DevelopmentMicrosoft: ASP.NET Forum Unable to Load dll (oci.dll) Configure LVL 58 Overall: Level 58 ASP 25 Message Accepted Solution by:amit_g amit_g earned 125 total points ID: 84839502003-05-07 Can you run asp application that connects to Oracle DB from the same
I then created a user profile for both machines of the same form:
I had Oracle directories on two drives.
Fusion logging probably won't help here. –Codo Dec 30 '11 at 22:04 Really Stupid Question (tm) : is c:\oracle\product\10.2.0\client_1\bin in the PATH on the failing machine? –Bob Jarvis Dec Resources Join | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc. Enjoy an ad free experience by logging in. userName="SYSTEM" password="AutoGenerate" ...
Problem with OCI.DLL - connecting to an Oracle 8 database 10. Please help. Seems like this has to be a security/permissions issue. What I had to do was edit the registry at HKLM\Software\Oracle\ODP.NET\DllPath to point to the Oracle 12 instant client instead of the Oracle 11 client that gets installed with the Oracle
Both machines are running WindowsXP, Oracle9i, the .Net framework data provider for Oracle(OracleClient), and the Redistributable .Net Framework vs 1.0 I checked to make sure that the directory structure for the Hussein Abuthuraya[MSFT], Sep 17, 2003 #3 Advertisements Show Ignored Content Want to reply to this thread or ask your own question? I then created a user profile for both machines of the same form:
Sign up now!