Hello, I have a test environment setup and my website is deployed correctly to two out of three servers. I have ensured the site name is the same, that the tentacle is successfully getting the code, that the app pools have the same framework version, and that all app pools are running in integrated mode, but it still fails. I checked the tentacle event log for additional information, but it only has the error message listed below. Do you have any debugging suggestions?
Here is the pertinent section of the deployment log:
2011-07-07 18:38:04 DEBUG Uploading package WebApplication1 1.2.3 to tentacle http://xxx:10933
2011-07-07 18:38:04 DEBUG Package WebApplication1 1.2.3 has already been uploaded to tentacle ‘http://xxx:10933’, no need to upload it
2011-07-07 18:38:04 DEBUG Deploying package WebApplication1 1.2.3 to tentacle http://xxx:10933
2011-07-07 18:38:05 ERROR Deployment on the tentacle failed: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator…ctor(DirectoryEntry container)
at Octopus.Tentacle.Integration.Iis.InternetInformationServer.OverwriteHomeDirectory(String iisWebSiteName, String path) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Integration\Iis\InternetInformationServer.cs:line 20
at Octopus.Tentacle.Conventions.IisWebSite.AfterDeployment(ConventionContext context) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Conventions\IisWebSite.cs:line 42
at Octopus.Tentacle.Jobs.DeployPackageJobExecutor.Execute(DeployPackageJob job) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\DeployPackageJobExecutor.cs:line 39
at Octopus.Tentacle.Jobs.JobQueue.RunDeploymentsOnBackgroundThread(Object state) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\JobQueue.cs:line 73
2011-07-07 18:38:05 INFO Tentacle output follows:
2011-07-07 18:38:02 DEBUG Tasks will be run in the following order:
- PowerShellPreDeployScript
- XmlConfigTransforms
- XmlConfigVariables
- PowerShellDeployScript
- Installers
- IisWebSite
- PowerShellPostDeployScript
2011-07-07 18:38:02 DEBUG Start: Executing RemoveAttributes (transform line 16, 18)
2011-07-07 18:38:02 DEBUG on /configuration/system.web/compilation
2011-07-07 18:38:02 DEBUG Applying to ‘compilation’ element (source line 21, 6)
2011-07-07 18:38:02 WARN Argument ‘debug’ did not match any attributes
2011-07-07 18:38:02 WARN No attributes found to remove
2011-07-07 18:38:02 DEBUG End: Done executing RemoveAttributes
2011-07-07 18:38:02 INFO Updating any .config files
2011-07-07 18:38:02 DEBUG Scanning configuration file: C:\Program Files (x86)\Octopus\Tentacle\Applications\WebApplication1.1.2.3\content\Web.config
2011-07-07 18:38:02 DEBUG Setting //appSettings/add[@key=‘currentenvironment’] to 'Development’
2011-07-07 18:38:02 DEBUG Scanning configuration file: C:\Program Files (x86)\Octopus\Tentacle\Applications\WebApplication1.1.2.3\content\Web.Debug.config
2011-07-07 18:38:03 DEBUG Scanning configuration file: C:\Program Files (x86)\Octopus\Tentacle\Applications\WebApplication1.1.2.3\content\Web.Release.config
2011-07-07 18:38:03 INFO Installing any Installers
2011-07-07 18:38:03 DEBUG Scanning assembly: C:\Program Files (x86)\Octopus\Tentacle\Applications\WebApplication1.1.2.3\content\bin\WebApplication1.dll
2011-07-07 18:38:03 INFO Updating IIS website named 'WebApplication1’
2011-07-07 18:38:03 ERROR Error while executing job: Unknown error (0x80005000)
System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator…ctor(DirectoryEntry container)
at Octopus.Tentacle.Integration.Iis.InternetInformationServer.OverwriteHomeDirectory(String iisWebSiteName, String path) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Integration\Iis\InternetInformationServer.cs:line 20
at Octopus.Tentacle.Conventions.IisWebSite.AfterDeployment(ConventionContext context) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Conventions\IisWebSite.cs:line 42
at Octopus.Tentacle.Jobs.DeployPackageJobExecutor.Execute(DeployPackageJob job) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\DeployPackageJobExecutor.cs:line 39
at Octopus.Tentacle.Jobs.JobQueue.RunDeploymentsOnBackgroundThread(Object state) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\JobQueue.cs:line 73
2011-07-07 18:38:05 ERROR System.Exception: Deployment on the tentacle failed: System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator…ctor(DirectoryEntry container)
at Octopus.Tentacle.Integration.Iis.InternetInformationServer.OverwriteHomeDirectory(String iisWebSiteName, String path) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Integration\Iis\InternetInformationServer.cs:line 20
at Octopus.Tentacle.Conventions.IisWebSite.AfterDeployment(ConventionContext context) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Conventions\IisWebSite.cs:line 42
at Octopus.Tentacle.Jobs.DeployPackageJobExecutor.Execute(DeployPackageJob job) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\DeployPackageJobExecutor.cs:line 39
at Octopus.Tentacle.Jobs.JobQueue.RunDeploymentsOnBackgroundThread(Object state) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus.Tentacle\Jobs\JobQueue.cs:line 73
at Octopus.Deployment.PackageDeployer.PollUntilFinished(IJobService service, JobTicket ticket) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus\Deployment\PackageDeployer.cs:line 50
at Octopus.Deployment.DeployTaskExecutor.DeployPackagesToEnvironment(Deployment deployment, Project project, Dictionary`2 packageCache) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus\Deployment\DeployTaskExecutor.cs:line 87
at Octopus.Tasks.TaskQueue.<>c__DisplayClass3.b__0(Object ) in c:\TeamCity\buildAgent\work\76e51ce48adaaaf0\source\Octopus\Tasks\TaskQueue.cs:line 89