Deploy NuGet Package goes wrong today

Hi,

My POC was working well before but it raise some red lines on the log, even the whole deployment is not failed.

I think it’s not normal, could you please help?

Thanks


Deploying package 'C:\Octopus\Files\Demo.XBanking.1.4.5.15.nupkg-96e77739-f86a-4473-910b-b6f7867752c8' to machine 'https://ws2008-r2:10933/'
23:53:19Info
Deploying package:    C:\Octopus\Files\Demo.XBanking.1.4.5.15.nupkg-96e77739-f86a-4473-910b-b6f7867752c8
23:53:19Info
Updating appSettings and connectionStrings in: C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Web.config
23:53:19Info
No matching setting or connection string names were found in: C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Web.Debug.config
23:53:19Info
No matching setting or connection string names were found in: C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Web.Release.config
23:53:19Info
No matching setting or connection string names were found in: C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Views\Web.config
23:53:20Error
New-Object : Cannot find type [System.Security.Cryptography.AesCryptoServicePro
23:53:20Error
vider]: make sure the assembly containing this type is loaded.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:69 char:24
23:53:20Error
+     $provider = new-Object <<<<  System.Security.Cryptography.AesCryptoServic
23:53:20Error
eProvider
23:53:20Error
    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewOb 
23:53:20Error
   jectCommand
23:53:20Error
23:53:20Error
Property 'Mode' cannot be found on this object; make sure it exists and is sett
23:53:20Error
able.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:70 char:12
23:53:20Error
+     $provider. <<<< Mode = [System.Security.Cryptography.CipherMode]::CBC
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Mode:String) [], RuntimeExcep 
23:53:20Error
   tion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Padding' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:71 char:12
23:53:20Error
+     $provider. <<<< Padding = [System.Security.Cryptography.PaddingMode]::PKC
23:53:20Error
S7
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Padding:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'KeySize' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:72 char:12
23:53:20Error
+     $provider. <<<< KeySize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (KeySize:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'BlockSize' cannot be found on this object; make sure it exists and is
23:53:20Error
 settable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:73 char:12
23:53:20Error
+     $provider. <<<< BlockSize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (BlockSize:String) [], Runtime 
23:53:20Error
   Exception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Key' cannot be found on this object; make sure it exists and is setta
23:53:20Error
ble.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:74 char:12
23:53:20Error
+     $provider. <<<< Key = [System.Convert]::FromBase64String($key)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Key:String) [], RuntimeExcept 
23:53:20Error
   ion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'IV' cannot be found on this object; make sure it exists and is settab
23:53:20Error
le.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:75 char:12
23:53:20Error
+     $provider. <<<< IV =[System.Convert]::FromBase64String($iv)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (IV:String) [], RuntimeExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:77 char:34
23:53:20Error
+     $dec = $provider.CreateDecryptor <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (CreateDecryptor:String) [], R 
23:53:20Error
   untimeException
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Error
Exception calling "ReadToEnd" with "0" argument(s): "Object reference not set t
23:53:20Error
o an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:81 char:29
23:53:20Error
+         Write-Output $sr.ReadToEnd <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:82 char:13
23:53:20Error
+     $sr.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:83 char:13
23:53:20Error
+     $cs.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:85 char:14
23:53:20Error
+     $dec.Dispose <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Dispose:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Error
New-Object : Cannot find type [System.Security.Cryptography.AesCryptoServicePro
23:53:20Error
vider]: make sure the assembly containing this type is loaded.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:69 char:24
23:53:20Error
+     $provider = new-Object <<<<  System.Security.Cryptography.AesCryptoServic
23:53:20Error
eProvider
23:53:20Error
    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewOb 
23:53:20Error
   jectCommand
23:53:20Error
23:53:20Error
Property 'Mode' cannot be found on this object; make sure it exists and is sett
23:53:20Error
able.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:70 char:12
23:53:20Error
+     $provider. <<<< Mode = [System.Security.Cryptography.CipherMode]::CBC
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Mode:String) [], RuntimeExcep 
23:53:20Error
   tion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Padding' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:71 char:12
23:53:20Error
+     $provider. <<<< Padding = [System.Security.Cryptography.PaddingMode]::PKC
23:53:20Error
S7
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Padding:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'KeySize' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:72 char:12
23:53:20Error
+     $provider. <<<< KeySize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (KeySize:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'BlockSize' cannot be found on this object; make sure it exists and is
23:53:20Error
 settable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:73 char:12
23:53:20Error
+     $provider. <<<< BlockSize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (BlockSize:String) [], Runtime 
23:53:20Error
   Exception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Key' cannot be found on this object; make sure it exists and is setta
23:53:20Error
ble.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:74 char:12
23:53:20Error
+     $provider. <<<< Key = [System.Convert]::FromBase64String($key)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Key:String) [], RuntimeExcept 
23:53:20Error
   ion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'IV' cannot be found on this object; make sure it exists and is settab
23:53:20Error
le.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:75 char:12
23:53:20Error
+     $provider. <<<< IV =[System.Convert]::FromBase64String($iv)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (IV:String) [], RuntimeExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:77 char:34
23:53:20Error
+     $dec = $provider.CreateDecryptor <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (CreateDecryptor:String) [], R 
23:53:20Error
   untimeException
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Error
Exception calling "ReadToEnd" with "0" argument(s): "Object reference not set t
23:53:20Error
o an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:81 char:29
23:53:20Error
+         Write-Output $sr.ReadToEnd <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:82 char:13
23:53:20Error
+     $sr.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:83 char:13
23:53:20Error
+     $cs.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:85 char:14
23:53:20Error
+     $dec.Dispose <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Dispose:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Error
New-Object : Cannot find type [System.Security.Cryptography.AesCryptoServicePro
23:53:20Error
vider]: make sure the assembly containing this type is loaded.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:69 char:24
23:53:20Error
+     $provider = new-Object <<<<  System.Security.Cryptography.AesCryptoServic
23:53:20Error
eProvider
23:53:20Error
    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewOb 
23:53:20Error
   jectCommand
23:53:20Error
23:53:20Error
Property 'Mode' cannot be found on this object; make sure it exists and is sett
23:53:20Error
able.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:70 char:12
23:53:20Error
+     $provider. <<<< Mode = [System.Security.Cryptography.CipherMode]::CBC
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Mode:String) [], RuntimeExcep 
23:53:20Error
   tion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Padding' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:71 char:12
23:53:20Error
+     $provider. <<<< Padding = [System.Security.Cryptography.PaddingMode]::PKC
23:53:20Error
S7
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Padding:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'KeySize' cannot be found on this object; make sure it exists and is s
23:53:20Error
ettable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:72 char:12
23:53:20Error
+     $provider. <<<< KeySize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (KeySize:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'BlockSize' cannot be found on this object; make sure it exists and is
23:53:20Error
 settable.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:73 char:12
23:53:20Error
+     $provider. <<<< BlockSize = 128
23:53:20Error
    + CategoryInfo          : InvalidOperation: (BlockSize:String) [], Runtime 
23:53:20Error
   Exception
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'Key' cannot be found on this object; make sure it exists and is setta
23:53:20Error
ble.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:74 char:12
23:53:20Error
+     $provider. <<<< Key = [System.Convert]::FromBase64String($key)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Key:String) [], RuntimeExcept 
23:53:20Error
   ion
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
Property 'IV' cannot be found on this object; make sure it exists and is settab
23:53:20Error
le.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:75 char:12
23:53:20Error
+     $provider. <<<< IV =[System.Convert]::FromBase64String($iv)
23:53:20Error
    + CategoryInfo          : InvalidOperation: (IV:String) [], RuntimeExcepti 
23:53:20Error
   on
23:53:20Error
    + FullyQualifiedErrorId : PropertyNotFound
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:77 char:34
23:53:20Error
+     $dec = $provider.CreateDecryptor <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (CreateDecryptor:String) [], R 
23:53:20Error
   untimeException
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Error
Exception calling "ReadToEnd" with "0" argument(s): "Object reference not set t
23:53:20Error
o an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:81 char:29
23:53:20Error
+         Write-Output $sr.ReadToEnd <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:82 char:13
23:53:20Error
+     $sr.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
Exception calling "Dispose" with "0" argument(s): "Object reference not set to 
23:53:20Error
an instance of an object."
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:83 char:13
23:53:20Error
+     $cs.Dispose <<<< () 
23:53:20Error
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
23:53:20Error
    + FullyQualifiedErrorId : DotNetMethodException
23:53:20Error
23:53:20Error
You cannot call a method on a null-valued expression.
23:53:20Error
At C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1\Bootstrap.Octopus.Feat
23:53:20Error
ures.IISWebSite_BeforePostDeploy.ps1:85 char:14
23:53:20Error
+     $dec.Dispose <<<< ()
23:53:20Error
    + CategoryInfo          : InvalidOperation: (Dispose:String) [], RuntimeEx 
23:53:20Error
   ception
23:53:20Error
    + FullyQualifiedErrorId : InvokeMethodOnNull
23:53:20Error
23:53:20Info
Application pool "demoxbanking" already exists
23:53:20Info
Set application pool identity: ApplicationPoolIdentity
23:53:21Info
Set .NET framework version: v4.0
23:53:22Info
Site "demoxbanking" already exists
23:53:22Info
Assigning website to application pool...
23:53:22Info
Home directory: C:\Octopus\Applications\Test\Demo.XBanking\1.4.5.15_1
23:53:22Info
Comparing existing IIS bindings with configured bindings...
23:53:22Info
Bindings are as configured. No changes required.
23:53:22Info
Anonymous authentication enabled: True
23:53:22Info
Applied configuration changes to section "system.webServer/security/authentication/anonymousAuthentication" for "MACHINE/WEBROOT/APPHOST/demoxbanking" at configuration commit path "MACHINE/WEBROOT/APPHOST"
23:53:22Info
Basic authentication enabled: False
23:53:23Info
Applied configuration changes to section "system.webServer/security/authentication/basicAuthentication" for "MACHINE/WEBROOT/APPHOST/demoxbanking" at configuration commit path "MACHINE/WEBROOT/APPHOST"
23:53:23Info
Windows authentication enabled: False
23:53:23Info
Applied configuration changes to section "system.webServer/security/authentication/windowsAuthentication" for "MACHINE/WEBROOT/APPHOST/demoxbanking" at configuration commit path "MACHINE/WEBROOT/APPHOST"
23:53:24Info
IIS configuration complete

Hi Fred,

Thanks for getting in touch. Does this happen all of the time, or just intermittently? We do have some other reports of a similar issue and have logged a GitHub Issue to deal with it.

Could you confirm what version of .NET and PowerShell are installed on that server?

Thanks!
Mike

Hi Michael,

It usual happens. But if I create another project and do similar steps, it works without any error, but still happens sometime.

My environment is configured with .NET 4.5.2, Windows 2K8 R2.

Thanks

Hi Fred,

We’re investigating this same issue with one other customer right now and they are testing out a custom build. It does seem to be an environmental peculiarity though.

I’ll keep you updated as I learn more.
Mike

Hi Fred,

We’ve shipped Octopus 3.1.6 which has a fix for this issue that has worked for other customers.

Hope this helps!
Mike

That’s great, thanks for your helps !