Hello,
I am running version 2.6.4.951 and all of my tentacles are up to date. I have a project that has a large number of steps (57 steps, some of which are under the 9 parents steps - so a total of 66 steps when you include the parent steps/step groupings). I have a steps that tries to load the WebAdministration module to set up a web site, but I get this error every time it runs:
Get-Website : Could not load file or assembly
’Microsoft.IIS.PowerShell.Framework’ or one of its dependencies. The system
cannot find the file specified.
At C:\Windows\system32\config\systemprofile\AppData\Local\Tentacle\Temp\10e32b3e-c943-481f-9738-8a3c295d1b4b.ps1:80 char:10
- $site = (Get-Website | Where-Object { $_.Name -eq $parentSite })
-
~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( [Get-Website], FileNotFoundException
- FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.IIs.PowerShell.Provider.GetWebsiteCommand
If this step is the only step in the project (if I create a new project and have just that step), then it runs fine. Otherwise, if I delete a few of the steps (the fewest I have deleted and had success with is 9 steps with 2 parent steps/step groupings, bringing my total down to 55 steps including the parent steps).
I am trying to load the WebAdministration module like this:
Add-PSSnapin WebAdministration -ErrorAction SilentlyContinue
Import-Module WebAdministration -ErrorAction SilentlyContinue
Is this a known bug or limitation? Has anyone else run into similar issues? Is there a workaround/fix?
Any help would be appreciated! Thanks!