Cannot Delete Oci.dll File Error Oracle
Contents |
23 March 2005 05:32 mailtosanju Messages: 2Registered: March 2005 Junior Member Hi all, I got an error while trying to install Oracle 9i on a Win XP machine. So, I decided to wipe out Oracle completely how to remove oci.dll from windows 7 and starting again. I deleted all the Oracle entries from the registry and then
How To Stop Oci.dll Process
tried deleting the folder. But while doing that, I am getting the following error - "Cannot delete oci:Access denied" The
Cannot Delete Oci.dll File Oracle 11g
disk is neither write-protected nor is the oci.dll file in use. Could anyone please suggest a solution. Report message to a moderator Re: cannot delete oci.dll file [message #112155 is a
Uninstall Oracle
reply to message #112149] Wed, 23 March 2005 06:08 Maaher Messages: 7062Registered: December 2001 Senior Member Have you stopped all Oracle Services? MHE Report message to a moderator Re: cannot delete oci.dll file [message #112166 is a reply to message #112155] Wed, 23 March 2005 07:29 mailtosanju Messages: 2Registered: March 2005 Junior Member No Oracle services are running becuase I have deleted them from the download process explorer registry. Report message to a moderator Re: cannot delete oci.dll file [message #112278 is a reply to message #112149] Thu, 24 March 2005 01:27 lntchiyoda Messages: 3Registered: March 2005 Location: Baroda Junior Member You can try after 2 or 3 restarts. It works Report message to a moderator Re: cannot delete oci.dll file [message #125196 is a reply to message #112278] Thu, 23 June 2005 14:33 phani_gandeed Messages: 1Registered: June 2005 Junior Member We faced same problem, and restarted our laptop almost 10 times before we took some out of box strategy: Removed all other files except this oci.dll. And restarted system. And we were able to delete this file. Report message to a moderator Re: cannot delete oci.dll file [message #125266 is a reply to message #125196] Fri, 24 June 2005 02:31 girish.rohini Messages: 744Registered: April 2005 Location: Delhi (India) Senior Member Its always advisable to remove oracle using oracle installer. Thay way u wont be facing such troubles. Report message to a moderator Re: cannot delete oci.dll file [message #125404 is a reply to message #125266] Fri, 24 June 2005 17:00 Maaher Messages: 7062Registered: December 2001 Senior Member
Member No.: 24,972 I am trying to uninstall 10g on Windows XP, so that I can put a clean install back onI manually deleted registry entries, and deleted everything else on the Oracle path, but I can not delete the oci.dllDoes anyone know what I should do at http://www.orafaq.com/forum/t/42605/ this point >Thanks SteveC View Member Profile Oct 29 2008, 12:43 PM Post #2 Advanced Member Group: Members Posts: 2,836 Joined: 11-March 08 Member No.: 18,933 Download process explorer from MSDN. Find what has a lock on oci.dll (probably Distributed Transaction Coordinator). Stop the service. Delete the file. http://technet.microsoft.com/en-us/sysinte...s/bb896653.aspxReboot http://dbaforums.org/oracle/index.php?showtopic=16745 can also work. Beginner View Member Profile Oct 29 2008, 04:34 PM Post #3 Member Group: Members Posts: 27 Joined: 1-June 08 Member No.: 24,972 Thanks, it worked great, Just one thing, what is svchost ? It was holding on to oci.dll SteveC View Member Profile Oct 29 2008, 04:55 PM Post #4 Advanced Member Group: Members Posts: 2,836 Joined: 11-March 08 Member No.: 18,933 http://www.processlibrary.com/directory/files/svchost/ « Next Oldest · Oracle Forum · Next Newest » 1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) 0 Members: Forum Home Search Help Oracle |-- Oracle Forum Display Mode: Standard · Switch to: Linear+ · Switch to: Outline Track this topic · Email this topic · Print this topic · Subscribe to this forum Lo-Fi Version Time is now: 5th October 2016 - 11:40 PM Powered By Invision IPB © 2016 IPS, Inc.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/2142877/oracle-oci-dll-in-asp-net-bin-directory-cant-be-deleted-doesnt-work Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Oracle oci.dll in ASP.NET bin directory cannot delete can't be deleted/doesn't work up vote 5 down vote favorite 1 I followed the directions here: http://splinter.com.au/blog/?p=156 in an attempt to use a newer version of ODP.NET without installing the Oracle 11g client. I followed everything, so far, except for restarting IIS. However, this has caused some problems and I'm really curious as to why. If I try to use ODP.NET I'm met with a blank cannot delete oci.dll exception thrown when the Oracle connection tries to connect (ConnectExample.Open() for instance). But most curiously: I can't delete oci.dll. It says it's in use. What could be using this dll? What exactly does ASP.NET do with a native dll when it's within the Bin directory? I thought that maybe this is something involving the oci.dll, but if I use the dll in a similar fashion in a desktop WinForm application then the oci.dll doesn't get locked, and I can delete it freely. Also, after I tried using it the normal System.Data.OracleClient stopped working. It now throws an exception that OCIEnvCreate returns with a -1. I will try restarting IIS, and hopefully that will fix this, but I'd like to know what's going on here (and if it can be solved without restarting IIS). Does anyone have an idea? Edit: I tried restarting IIS and that didn't fix a thing Edit #2: I don't think I formulated this question very well, but that was due to my assuming restarting IIS would work. Now I just need to know why it isn't working. In Googling for similar problems I've only encountered 2 forum posts which told of my