Jul 21, 2022
05:22 AM
1 Kudo
I have obtained the initial Checkroles.ps1 script from Checking FlexNet Manager Suite On-premises application server pre-requisite Windows features - Community (flexera.com) But in the end I modified a script from Flexera-Spider's Spider-Knownledgebase to cover the roles expected by FNMS. The Spider-script also contains a commandline switch to not only check for roles, but also to install them. I just had to remove the script signature and change the roles to the FNMS expectations. Spider Setup: System Requirements - Internet Information Services (IIS) - Community (flexera.com) (needs modification to work with FNMS) Modified Script: <#
.SYNOPSIS
Checks availability of needed Windows Features for IIS
#>
[CmdletBinding(SupportsShouldProcess = $true)]
Param (
# GENERIC PARAMETERS
# ------------------
[Parameter(Mandatory = $false, HelpMessage = "Try to install missing features")]
[switch] $InstallMissingFeatures
)
Function CheckWindowsFeature() {
Param (
[Parameter(Mandatory = $true, HelpMessage = "Provide the name of the feature.")]
[string] $feature)
if (Get-WindowsFeature | Where-Object { ($_.Name.Trim() -eq $feature) -and ($_.Installed -eq $True) }) {
Write-Host "Feature: $($feature) installed." -ForegroundColor Green
}
else {
Write-Host "Feature: $($feature) not installed." -ForegroundColor Red
if ($InstallMissingFeatures) {
Add-WindowsFeature $feature
}
}
}
if (Get-Module -ListAvailable | Where-Object { $_.Name -eq "ServerManager" }) {
Import-Module ServerManager -ErrorAction Stop
Write-Host "Server Manager found!" -ForegroundColor Green
}
else {
Write-Host "Error while loading ServerManager, possibly running on Client OS" -ForegroundColor Red
Exit 1
}
$iisInfo = Get-ItemProperty HKLM:\SOFTWARE\Microsoft\InetStp\
$version = [int]"$($iisInfo.MajorVersion)"
Write-Host $version
switch ($version) {
10 {
CheckWindowsFeature -feature Web-Server
CheckWindowsFeature -feature Web-WebServer
CheckWindowsFeature -feature Web-Default-Doc
CheckWindowsFeature -feature Web-Dir-Browsing
CheckWindowsFeature -feature Web-Http-Errors
CheckWindowsFeature -feature Web-Http-Redirect
CheckWindowsFeature -feature Web-Static-Content
CheckWindowsFeature -feature Web-Health
CheckWindowsFeature -feature Web-Performance
CheckWindowsFeature -feature Web-Http-Logging
CheckWindowsFeature -feature Web-Dyn-Compression
CheckWindowsFeature -feature Web-Stat-Compression
CheckWindowsFeature -feature Web-Basic-Auth
CheckWindowsFeature -feature Web-Security
CheckWindowsFeature -feature Web-Windows-Auth
CheckWindowsFeature -feature Web-Filtering
CheckWindowsFeature -feature Web-App-Dev
CheckWindowsFeature -feature Web-Net-Ext
CheckWindowsFeature -feature Web-Net-Ext45
CheckWindowsFeature -feature Web-Asp-Net
CheckWindowsFeature -feature Web-Asp-Net45
CheckWindowsFeature -feature Web-ISAPI-Ext
CheckWindowsFeature -feature Web-ISAPI-Filter
CheckWindowsFeature -feature Web-CGI
}
}
... View more
Jul 14, 2022
04:16 AM
2 Kudos
Thanks to Adrian's help, I was able to resolve the issue: It was in fact a missing IIS-Role, and I was able to identify the missing components using the CheckRoles.ps1 script.
... View more
Jul 13, 2022
11:04 AM
1 Kudo
Hi,
Issue:
after performing a script based installation of FNMS on an Azure-VM running SQL2019, I have trouble accessing the applications web-ui When accessing http://localhost/Suite all I get is a http-500 error
Question:
I am unsure how to debug/resolve this and would appreciate if someone could provide suggestion how to get to the root of this issue, or how to obtain additional debug-information/logs.
... View more
Labels
- Labels:
-
Installation & Configuration
Latest posts by nLangTT
Subject | Views | Posted |
---|---|---|
419 | Jul 21, 2022 05:22 AM | |
539 | Jul 14, 2022 04:16 AM | |
595 | Jul 13, 2022 11:04 AM |
Activity Feed
- Got a Kudo for Re: Issue installing FNMS on a development server. Jul 22, 2022 01:31 AM
- Kudoed Spider Setup: System Requirements - Internet Information Services (IIS) for sfdcowner. Jul 21, 2022 05:23 AM
- Posted Re: Issue installing FNMS on a development server on FlexNet Manager Forum. Jul 21, 2022 05:22 AM
- Got a Kudo for Re: Issue installing FNMS on a development server. Jul 18, 2022 01:47 AM
- Got a Kudo for Re: Issue installing FNMS on a development server. Jul 14, 2022 07:39 AM
- Posted Re: Issue installing FNMS on a development server on FlexNet Manager Forum. Jul 14, 2022 04:16 AM
- Kudoed Re: Issue installing FNMS on a development server for adrian_ritz1. Jul 14, 2022 04:14 AM
- Got a Kudo for Issue installing FNMS on a development server. Jul 14, 2022 02:02 AM
- Posted Issue installing FNMS on a development server on FlexNet Manager Forum. Jul 13, 2022 11:04 AM