When SAS® 9.4 runs on Microsoft Windows with the system locale set to Turkish (non-English), installation of SAS Web Application Server Hot Fix M3P009 or earlier might fail to update the ActiveMQ version.
During the hot fix installation, the SASServiceCtl.ps1 PowerShell script (which uninstalls and reinstalls the Windows service) fails with an invalid action error.
In the hot fix log (for example: IT_XXXX-xxxx.log), entries similar to the following might appear:
2026-01-21 11:50:09 LogLineWriter - info: 'D:\Config\Lev1\Web\WebAppServer\SASServer1_1\bin\SASServiceCtl.ps1'
2026-01-21 11:50:09 LogLineWriter - info: '-action'
2026-01-21 11:50:09 LogLineWriter - info: 'uninstall'
..
2026-01-21 11:50:14 LogLineWriter - info: [exec] Main : Invalid action specified: UNNSTALL
2026-01-21 11:50:14 LogLineWriter - info: [exec] At D:\Config\Lev1\Web\WebAppServer\SASServer1_1\bin\SASServiceCtl.ps1:988 char:1
The key error in the above code is: Invalid action specified: UNNSTALL
This issue is caused by a character-encoding and case-conversion behavior in PowerShell when using the Turkish locale.
Modify the SASServiceCtl.ps1 script as follows:
1. Locate the following line #603 in \Config\Lev1\Web\WebAppServer\SASServerX_Y/bin\SASServiceCtl.ps1:
$Action = $Action.ToUpper()
2. Replace the line with:
$Action = [string]$Action
$Action = $Action -replace '^\p{C}+','' # strip leading control chars
$Action = $Action.Trim()
$Action = $Action.ToUpperInvariant()
3. Save the SASServiceCtl.ps1 file.
4. Apply the change to all SASServerX_Y instances in the environment.
In the above, SASServerX_Y represents SASServer1_1 through SASServerX_Y (all of the SAS Web Application Server instances).
A fix for this issue is planned for a future software release.