PSMP - PSMIN076E Failed to serialize session parameters configuration. Error: [DOM error (Reason: invalid or illegal XML character, Code:5)]"
Symptom
When trying to connect using PSMP getting the error:
"PSMPIN076E Failed to serialize session parameters configuration. Error: [DOM error (Reason: invalid or illegal XML character, Code:5)]"
Environment
9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;14.6
Cause
The issue is with an illegal XML character which probably can be found in the PVConfiguration.xml and Policies.xml files.
In most cases we found a space in one of the Connection Components parameters as the example below:
<Parameter Name=" EnableTargetLogging" Value="Yes" /> It should be without spaces like below: <Parameter Name="EnableTargetLogging" Value="Yes" />
Resolution
It will be almost impossible to find the space character in all of the Configuration files.
In order to narrow down the search there are two options below:
Option 1:
1. Find which Connection Component as the issue for example PSM-RDP
2. Check if the issue occurs also on other Connection Components issue occurs only on specific Connection.
3. Via PVWA go to the Connection Component and go over all parameter which may contain a space.
4. Remove the space and save the changes
5. Restart on all PSM’s the PSM service
Option 2:
- log in via PrivateArk Client to the vault with administrator user.
- Go to the PVWAConfig safe
- Backup the file you are going to change
- Select the config file and check for older versions
- Revert back to the one of the versions
- Restart on all PSM’s the PSM service