- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Forum
- :
- Re: Issue installing FNMS on a development server
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
}
}
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you
