"Failure occurred while handling session. PSMSR133E [xx] Failed to create process "X:\Program Files (x86)\Cyberark\PSM\Components\MSSQLManagementStudioDatabaseAuthenticationDispatcher.exe".
Symptom
When attempting to connect to MY SQL Server Studio through PVWA the connection instance would close immediately with the following error:
PSMSR133E [xx] Failed to create process "X:\Program Files (x86)\Cyberark\PSM\Components\MSSQLManagementStudioDatabaseAuthenticationDispatcher.exe". Code: 1260 (Codes: -1, -1)"
Environment
12.2;14.6 Privilege Cloud PSM
PSM 12.2
PVWA
PSM Connector - SQL Server Management Studio (SSMS) 18 - Database Accounts
Cause
Code: 1260 (Codes: -1, -1) is equal to an application blocked via AppLocker.
You can see from the AppLocker Event logs the following event occurs:
Logged: Date/Time Stamp
Level: Error
x:\PROGRAM FILES (X86)\CYBERARK\PSM\COMPONENTS\MSSQLMANAGEMENTSTUDIODATABASEAUTHENTICATIONDISPATCHER.EXE was prevented from running.
PSMConfigureAppLocker.xml only contains the Windows Auth "MSSQLManagementStudioWindowsAuthenticationDispatcher.exe" by default and not the Database Authentication dispatcher as above.
Resolution
Please make sure the dispatcher "MSSQLManagementStudioDatabaseAuthenticationDispatcher.exe" above is correctly added to the PSMConfigureAppLocker.xml and rerun the PSMConfigureAppLocker.ps1 - Making sure the correct PSMConnect users at allocated in the script if using domain users.