I tried to manage my web sites with a script that includes a <deliisdir/> task.
<deliisdir vdirname='/WebForNAntToPlayWith' verbose='true'/>
What I get in response is:
[deliisdir] Deleting virtual directory '/WebForNAntToPlayWith' on 'localhost:80'.
BUILD FAILED
C:\Project files\AnotherWeb\default.build(35,4):
Error deleting virtual directory '/WebForNAntToPlayWith' on 'localhost:80'.:
NAnt.Core.BuildException: C:\Project files\AnotherWeb\default.build(35,4):
Error deleting virtual directory '/WebForNAntToPlayWith' on 'localhost:80'. ---> System.Runtime.InteropServices.COMException (0x80005000): Exception from HRESULT: 0x80005000.
at System.DirectoryServices.Interop.IAdsContainer.GetObject(String className, String relativeName)
at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
at NAnt.Contrib.Tasks.DeleteIISDirTask.ExecuteTask() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp3BA9.tmp\src\Tasks\IISTasks.cs:line 895
--- End of inner exception stack trace ---
at NAnt.Contrib.Tasks.DeleteIISDirTask.ExecuteTask() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp3BA9.tmp\src\Tasks\IISTasks.cs:line 901
at NAnt.Core.Task.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp125A.tmp\src\NAnt.Core\Task.cs:line 177
at NAnt.Core.Target.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp125A.tmp\src\NAnt.Core\Target.cs:line 249
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp125A.tmp\src\NAnt.Core\Project.cs:line 876
at NAnt.Core.Project.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp125A.tmp\src\NAnt.Core\Project.cs:line 833
at NAnt.Core.Project.Run() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp125A.tmp\src\NAnt.Core\Project.cs:line 902
I’m not sure what I’m doing wrong. The folder is there, and marked as a web in IIS Admin. The Error Lookup tool doesn’t know what 0x80005000 is. Please help. What’s wrong with my machine?
TIA
--------------------------------------------------------------------------------
Skip Sailors
Lead Software Engineer
Harland Financial Solutions Mortgage Solutions Group
[EMAIL PROTECTED]
http://www.harlandfs.com
425.250.1994
I'm not sayin' anything, I'm just sayin'