3 Replies Latest reply on Oct 10, 2019 6:28 AM by Bill Robinson

    Adding Application Pools in IIS8.5 failed the IIS8.5 deploy job

    Nayeemullah Mohammed
      Share This:

      Hello,

       

      I am getting software deploy job failed with the following error

       

      Info 09/10/2019 10:33:56 AM Executing command: "start /w dism /enable-feature /online /featureName:IIS-WebServerRole /featureName:IIS-WebServer /featureName:IIS-CommonHttpFeatures /featureName:IIS-StaticContent /featureName:IIS-DefaultDocument /featureName:IIS-DirectoryBrowsing /featureName:IIS-HttpErrors /featureName:IIS-HttpRedirect /featureName:IIS-ApplicationDevelopment /featureName:IIS-ASPNET /featureName:IIS-NetFxExtensibility /featureName:IIS-ASPNET45 /featureName:IIS-NetFxExtensibility45 /featureName:IIS-ASP /featureName:IIS-CGI /featureName:IIS-ISAPIExtensions /featureName:IIS-ISAPIFilter /featureName:IIS-ServerSideIncludes /featureName:IIS-HealthAndDiagnostics /featureName:IIS-HttpLogging /featureName:IIS-LoggingLibraries /featureName:IIS-RequestMonitor /featureName:IIS-HttpTracing /featureName:IIS-CustomLogging /featureName:IIS-ODBCLogging /featureName:IIS-Security /featureName:IIS-BasicAuthentication /featureName:IIS-WindowsAuthentication /featureName:IIS-DigestAuthentication /featureName:IIS-ClientCertificateMappingAuthentication /featureName:IIS-IISCertificateMappingAuthentication /featureName:IIS-URLAuthorization /featureName:IIS-RequestFiltering /featureName:IIS-IPSecurity /featureName:IIS-Performance /featureName:IIS-HttpCompressionStatic /featureName:IIS-HttpCompressionDynamic /featureName:IIS-WebDAV /featureName:IIS-WebServerManagementTools /featureName:IIS-ManagementScriptingTools /featureName:IIS-ManagementService /featureName:IIS-IIS6ManagementCompatibility /featureName:IIS-Metabase /featureName:IIS-WMICompatibility /featureName:IIS-LegacyScripts /featureName:IIS-FTPServer /featureName:IIS-FTPSvc /featureName:IIS-FTPExtensibility /featureName:NetFx4Extended-ASPNET45 /featureName:IIS-ApplicationInit /featureName:IIS-WebSockets /featureName:IIS-CertProvider /featureName:IIS-ManagementConsole /featureName:IIS-LegacySnapIn /featureName:WCF-HTTP-Activation" (Time in agent's deploy log:: 10/09/2019 10:31:54) 1 Install IIS 8.5 - All Components

      Info 09/10/2019 10:33:56 AM Item 'Install IIS 8.5 - All Components' returned exit code 50 (Time in agent's deploy log:: 10/09/2019 10:33:53) 1 Install IIS 8.5 - All Components

      Error 09/10/2019 10:33:56 AM Command returned non-zero exit code: 50 The request is not supported. (Time in agent's deploy log:: 10/09/2019 10:33:53) 1 Install IIS 8.5 - All Components

      Error 09/10/2019 10:33:56 AM Apply failed: id = 1 (Time in agent's deploy log:: 10/09/2019 10:33:53) 1 Install IIS 8.5 - All Components

      Info 09/10/2019 10:33:56 AM Starting undo

      (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Info 09/10/2019 10:33:56 AM Processing asset BLPACKAGE (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Info 09/10/2019 10:33:56 AM Undo succeeded

      (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Warning 09/10/2019 10:33:56 AM Deploy failed. Cleaning up staging area.

      (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Warning 09/10/2019 10:33:56 AM Deploy failed. Cleaning up staging area.

      (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Info 09/10/2019 10:33:56 AM Bldeploy done - nRet = 6 (Apply failed; auto-rollback successful) exitCode = -4001 (Deployment failed)

      (Time in agent's deploy log:: 10/09/2019 10:33:53)

      Error 09/10/2019 10:33:56 AM APPLY failed for server . Exit code = -4001

        • 1. Re: Adding Application Pools in IIS8.5 failed the IIS8.5 deploy job
          Bill Robinson

          first:  please use the 'advanced editor' feature here and *attach* the entire log file(s) w/ the error.  it's hard to look at just snippets and get any context.

           

          the error here seem pretty clear.  you ran some dism command and it failed:

          Error 09/10/2019 10:33:56 AM Command returned non-zero exit code: 50 The request is not supported. (Time in agent's deploy log:: 10/09/2019 10:33:53) 1 Install IIS 8.5 - All Components

           

          does that command work on the system outside of bsa ? as the same user you are mapped to on the target in bsa ?

          • 2. Re: Adding Application Pools in IIS8.5 failed the IIS8.5 deploy job
            Nayeemullah Mohammed

            There was an issue with the Syntax fixed it. However, while enabling the features I am getting the error source couldn't be downloaded.

             

             

            Info 10/10/2019 12:55:34 AM The job 'IIS 8.5 Job (Windows 2012 R2)->IIS 8.5 Job (Windows 2012 R2)' has failed on server ---------

            Error 10/10/2019 12:55:34 AM APPLY failed for server ---------. Exit code = -4001

            Info 10/10/2019 12:55:34 AM Bldeploy done - nRet = 6 (Apply failed; auto-rollback successful) exitCode = -4001 (Deployment failed)

            (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Warning 10/10/2019 12:55:34 AM Deploy failed. Cleaning up staging area.

            (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Warning 10/10/2019 12:55:34 AM Deploy failed. Cleaning up staging area.

            (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Info 10/10/2019 12:55:34 AM Undo succeeded

            (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Info 10/10/2019 12:55:34 AM Processing asset BLPACKAGE (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Info 10/10/2019 12:55:34 AM Starting undo

            (Time in agent's deploy log:: 10/10/2019 00:55:32)

            Error 10/10/2019 12:55:34 AM Apply failed: id = 1 (Time in agent's deploy log:: 10/10/2019 00:55:32) 1 Install IIS 8.5 - All Components

            Error 10/10/2019 12:55:34 AM Command returned non-zero exit code: -2146498298 (Time in agent's deploy log:: 10/10/2019 00:55:32) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM Item 'Install IIS 8.5 - All Components' returned exit code -2146498298 (Time in agent's deploy log:: 10/10/2019 00:55:32) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

             

            Info 10/10/2019 12:55:34 AM Use the "source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

             

            Info 10/10/2019 12:55:34 AM The source files could not be downloaded.

             

            Info 10/10/2019 12:55:34 AM Error: 0x800f0906

             

            Info 10/10/2019 12:55:34 AM [stdout: 1] (Time in agent's deploy log:: 10/10/2019 00:55:32) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM [stdout: 1] Enabling feature(s) (Time in agent's deploy log:: 10/10/2019 00:55:26) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM [stdout: 1] Image Version: 6.3.9600.19397 (Time in agent's deploy log:: 10/10/2019 00:55:21) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM Version: 6.3.9600.19408

             

            Info 10/10/2019 12:55:34 AM Deployment Image Servicing and Management tool

             

            Info 10/10/2019 12:55:34 AM [stdout: 1] (Time in agent's deploy log:: 10/10/2019 00:55:20) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM Executing command: "C:\Windows\system32\DISM.exe /enable-feature /online /featureName:IIS-WebServerRole /featureName:IIS-WebServer /featureName:IIS-CommonHttpFeatures /featureName:IIS-NetFxExtensibility /featureName:NetFx3 /featureName:NetFx3ServerFeatures /featureName:IIS-StaticContent /featureName:IIS-DefaultDocument /featureName:IIS-DirectoryBrowsing /featureName:IIS-HttpErrors /featureName:IIS-HttpRedirect /featureName:IIS-ApplicationDevelopment /featureName:IIS-ASPNET /featureName:IIS-ASPNET45 /featureName:IIS-NetFxExtensibility45 /featureName:IIS-ASP /featureName:IIS-CGI /featureName:IIS-ISAPIExtensions /featureName:IIS-ISAPIFilter /featureName:IIS-ServerSideIncludes /featureName:IIS-HealthAndDiagnostics /featureName:IIS-HttpLogging /featureName:IIS-LoggingLibraries /featureName:IIS-RequestMonitor /featureName:IIS-HttpTracing /featureName:IIS-CustomLogging /featureName:IIS-ODBCLogging /featureName:IIS-Security /featureName:IIS-BasicAuthentication /featureName:IIS-WindowsAuthentication /featureName:IIS-DigestAuthentication /featureName:IIS-ClientCertificateMappingAuthentication /featureName:IIS-IISCertificateMappingAuthentication /featureName:IIS-URLAuthorization /featureName:IIS-RequestFiltering /featureName:IIS-IPSecurity /featureName:IIS-Performance /featureName:IIS-HttpCompressionStatic /featureName:IIS-HttpCompressionDynamic /featureName:IIS-WebDAV /featureName:IIS-WebServerManagementTools /featureName:IIS-ManagementScriptingTools /featureName:IIS-ManagementService /featureName:IIS-IIS6ManagementCompatibility /featureName:IIS-Metabase /featureName:IIS-WMICompatibility /featureName:IIS-LegacyScripts /featureName:IIS-FTPServer /featureName:IIS-FTPSvc /featureName:IIS-FTPExtensibility /featureName:NetFx4Extended-ASPNET45 /featureName:IIS-ApplicationInit /featureName:IIS-WebSockets /featureName:IIS-CertProvider /featureName:IIS-ManagementConsole /featureName:IIS-LegacySnapIn /featureName:WCF-HTTP-Activation" (Time in agent's deploy log:: 10/10/2019 00:55:20) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM Processing asset EXTERNALCMD (Time in agent's deploy log:: 10/10/2019 00:55:20) 1 Install IIS 8.5 - All Components

            Info 10/10/2019 12:55:34 AM Processing asset BLPACKAGE (Time in agent's deploy log:: 10/10/2019 00:55:20)

            Info 10/10/2019 12:55:34 AM Starting apply

            (Time in agent's deploy log:: 10/10/2019 00:55:20)

            Info 10/10/2019 12:55:34 AM Bldeploy "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) started using file C:\temp\stage\ce0c750422383f22b675285c6bc01aa9\bldeploy.xml with rollback directory D:\BMC\RSCD\\Transactions\32967e42b13c32cea9ae2ff083e3ae4a

            (Time in agent's deploy log:: 10/10/2019 00:55:20)

            Info 10/10/2019 12:55:34 AM Maintenance / Exclusion Window Timeout not configured

            (Time in agent's deploy log:: 10/10/2019 00:55:20)

            Info 10/10/2019 12:55:34 AM Deployment job not in single-job mode. Reboot is not allowed. Any reboot requests by certain file operations will be ignored.

            (Time in agent's deploy log:: 10/10/2019 00:55:17)

            Info 10/10/2019 12:55:32 AM Package "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) completed. exitCode = -4001 (Apply failed; auto-rollback successful)

            Info 10/10/2019 12:55:32 AM Package "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) auto-rollback on failure started

            Info 10/10/2019 12:55:20 AM Package "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) processing instructions

            Info 10/10/2019 12:55:20 AM Package "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) initialized, entering wait queue for processing

            Info 10/10/2019 12:55:17 AM Package "IIS 8.5 (Windows 2012 R2)" UUID(32967e42b13c32cea9ae2ff083e3ae4a) started

            Info 10/10/2019 12:55:16 AM Started running the deploy step job 'IIS 8.5 Job (Windows 2012 R2)->IIS 8.5 Job (Windows 2012 R2)' on application server 'wsdcm001tbmc'(1) against target server '------------'

            Info 10/10/2019 12:55:16 AM Maintenance Window disabled on server ------------.

            Info 10/10/2019 12:55:16 AM Exclusion window not defined for server -------------.

            Info 10/10/2019 12:55:16 AM Deploy Apply Job (Pre-Execute):IIS 8.5 Job (Windows 2012 R2); Server:------------; Package:IIS 8.5 (Windows 2012 R2); PkgID:"2651-4211.7"; UUID:32967e42b13c32cea9ae2ff083e3ae4a

            • 3. Re: Adding Application Pools in IIS8.5 failed the IIS8.5 deploy job
              Bill Robinson

              again - PLEASE ATTACH FILES TO THE THREAD USING THE ADVANCED EDITOR.

               

              Info 10/10/2019 12:55:34 AM The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

               

              Info 10/10/2019 12:55:34 AM Use the "source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

               

              Info 10/10/2019 12:55:34 AM The source files could not be downloaded.

               

              Info 10/10/2019 12:55:34 AM Error: 0x800f0906

              still having problems w/ your command.