Could not delete user: java.sql.SQLException: The DELETE statement conflicted with the REFERENCE constraint

Could not delete user: java.sql.SQLException: The DELETE statement conflicted with the REFERENCE constraint

In the User Management section of Silk Central 16.5, when you are deleting a user, you might get the following error message:

This error indicates that the user you are trying to delete is tied to the template user on your LDAP Server. 

To check this go to Administration -> System Settings, and on click the LDAP Server name and check the 'User Account Creation' settings.

Click the image below for an animated GIF, showing how to navigate to the 'User Account Creation' settings:

If the user you are trying to delete is defined here as your 'template user', you will need to change this user first. Once the user is changed to a different user, you will be able to successfully delete the user.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-11-24 21:33
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.