error when adding dictionary to CSWeb
Posted: October 23rd, 2019, 9:40 am
Hi,
We have a problem adding more than one dictionary to CSWeb. The first one works OK, but when we try to add the second one, we get the error message
"Failed to add dictionary. We are sorry, but something went terribly wrong".
And this is the corresponding entry in the log file:
[2019-10-23 16:37:36] CSPro API.CRITICAL: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '255' for key 'PRIMARY' (uncaught exception) at C:\inetpub\wwwroot\csweb\src\api\app\helpers.php line 137 {"exception":"[object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '255' for key 'PRIMARY' at C:\\inetpub\\wwwroot\\csweb\\src\\api\\app\\helpers.php:137)"} []
A colleague of mine just upgraded the CSWeb server, and I assume it went OK, as it tells me it's up to date if I try to run the upgrade script.
Any suggestions?
Anne
We have a problem adding more than one dictionary to CSWeb. The first one works OK, but when we try to add the second one, we get the error message
"Failed to add dictionary. We are sorry, but something went terribly wrong".
And this is the corresponding entry in the log file:
[2019-10-23 16:37:36] CSPro API.CRITICAL: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '255' for key 'PRIMARY' (uncaught exception) at C:\inetpub\wwwroot\csweb\src\api\app\helpers.php line 137 {"exception":"[object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '255' for key 'PRIMARY' at C:\\inetpub\\wwwroot\\csweb\\src\\api\\app\\helpers.php:137)"} []
A colleague of mine just upgraded the CSWeb server, and I assume it went OK, as it tells me it's up to date if I try to run the upgrade script.
Any suggestions?
Anne