K2 blackpearl and K2 Smartforms configuration analysis shows IIS features warnings

  • 16 February 2021
  • 0 replies
  • 2 views

Userlevel 5
Badge +20
 

K2 blackpearl and K2 SmartForms configuration analysis shows IIS features warnings

kbt150571

PRODUCT
K2 blackpearl
BASED ON
K2 blackpearl 4.7
TAGS
Installation
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

K2 blackpearl and K2 SmartForms configuration analysis shows IIS features warnings but all the required features are installed on the server.

Symptoms

All the required features are installed on the server. The server works just fine and there was no warnings reported after initial installation.

Resolution

Configuration analysis may display IIS features warnings despite all the relevant features being installed on server. The installer fails to load the Server Manager module (Import-Module ServerManager) which is required to use the Get-WindowsFeature cmdlet used by the installer to check for presence of IIS features.

In this scenario the installer trace may contain the following lines:
">> Command: Import-Module ServerManager Get-WindowsFeature -Name NET-HTTP-Activation Expected Result: Installed System.Management.Automation.CmdletInvocationException: Cannot find drive. A drive with the name 'D' does not exist. ---> System.Management.Automation.DriveNotFoundException: Cannot find drive. A drive with the name 'D' does not exist."

It shows that PowerShell tried to load a module from a non existing drive which is not someting that should happen normally. This happened after the server was restored after an outage, and the D drive was missing - the server had only unpartitioned the disk after the restore. Once we formatted the unpartitioned disk and assigned D drive to it, it fixed the Import-Module cmdlet problem (despite D drive being just an empty disk). This fixed the IIS features warnings and IIS application pool permissions errors.


0 replies

Be the first to reply!

Reply