• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can't delete oracli\10.2.0\BIN\oci.dll (XP) ?

 
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe I have uninstalled the oracle 9i. After that I tried to delete the direcotry "oracli", however it turned out I could delete everything in this directory except "oracli\10.2.0\BIN\oci.dll". It always pops up a window showing "can't delete oci.dll -- Access denied. please make sure disk is not full or write-protection..."

The disk is NOT full. I also found the interesting thing --- I tried to unset the "read-only" property for this file and its upper folders but everytime after I was done and re-check the property, I found it was set back to 'read only" again. No idea why.

Anybody cna tell me why this file can't be removed ? And how to remove it ?
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Maybe you should try to unregister the dll and then delete it.
try this
cmd> regsvr32 /u oci.dll


maybe it helps.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download and run the process explorer.

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Search oci.dll using Find->Find Handle or DLL

Kill the svchost.exe process associated with the dll.

Delete the dll file using windows explorer.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
. . . and welcome to JavaRanch, Justin Rajasekar
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic