![]() |
|
|
|
#1 |
|
Hi i have written the code to delete the virtual directory,
Note : i want to delete virtual directory from IIS console also. this.Message("Delete Virtual Directory."); DirectoryEntry root = new DirectoryEntry(rootWeb); DirectoryEntry virtualDir = root.Children.Find(virtualDirName); root.Children.Remove(virtualDir); root.CommitChanges(); root.Close(); this code deletes the virtual directory in 32 bit system on win2k3 but not on win 2k3 64 bit system. can anybody help me resolve this issue. Exception i am getting is : System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000) at System.DirectoryServices.DirectoryEntry.Bind(Boole an throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_Schema ClassName() at NetIQ.NQACService.ACServiceInstaller.DeleteVirtual Directory(String rootWeb, String virtualDirName) if anybody reply it ASAP, will be great help. HEMSBLORE |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please explain this virtual functions matter (c++) | smokey1401 | General Help Related Topics | 0 | 07-11-2008 11:53 PM |
| 70-536, 3 questions | blade | MCTS | 11 | 03-23-2008 03:47 PM |
| Re: @ Deleting the content of Temp Folder? | MF | A+ Certification | 0 | 01-06-2006 04:36 AM |