When adding a new version, the fatal error - Content is not allowed in prolog - occurs in the add version log:
INF: 2023-09-18 13:24:30: Adding version 'XXX'
INF: 2023-09-18 13:24:30: Running DMT command
Using arguments:
AddVersion
-application: XXX
-oneApplicationMode: <guid>
-logFilePath: <log path>
-storagePath: <storage path>
-guid: <guid>
-name: XXX
-releaseDate: YYY
-activateDiscoverers: ZZZ
-copySources: false
Error: Internal error occurred.
The application is closing. Call CAST support now providing the log file at C:\Windows\Temp\DMT.log.txt
com.castsoftware.util.logger.exceptions.LogException cast.utilities.securePropertyReadFailure FILE <path to localpswds>/localpswds.dat
com.castsoftware.util.logger.exceptions.LogException cast.utilities.securePropertyReadFailure FILE <path to localpswds>/localpswds.dat
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
Content is not allowed in prolog.
Return value: 1000
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS |
- Open CAST MS
- Add a new version in CAST MS
The error message is displayed when the file localpswds.dat has unrecognizable characters for DMT which is causing the issue.
Please do the following to resolve:
- Save the current localpswds.dat file
- Replace the file that has the problem with this one: localpswds.dat
- Add a new version and see if the issue is resolved.
If the above points do not help you or you need further assistance, contact CAST Technical Support with the Relevant Input for CAST Technical Support to reproduce the issue.
Ticket # 43404