Hi,
Issue:
Question:
Jul 13, 2022 11:04 AM
Hello,
Usually https 500 errors, are internal server error, this may appear if you didn't install all the prerequisites for the application.
Please check is .net is registered
check all the iis roles to be ok
also if you start the webui from the server in the form of https://localhost/suite, may be you will find more information.
And you can check the iis logs.
Jul 13, 2022 11:29 AM
Hello,
Usually https 500 errors, are internal server error, this may appear if you didn't install all the prerequisites for the application.
Please check is .net is registered
check all the iis roles to be ok
also if you start the webui from the server in the form of https://localhost/suite, may be you will find more information.
And you can check the iis logs.
Jul 13, 2022 11:29 AM
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.
Jul 14, 2022 04:16 AM
Glad to be helpful, but the way, where can I find this CheckRoles.ps1, I think this would be a useful tool for us as admins, to check if we didn't mist something during installation.
Jul 18, 2022 01:49 AM
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
}
}
Jul 21, 2022 05:22 AM
Thank you
Jul 22, 2022 01:31 AM