Thank you for contacting Sitefinity support.
The error seems to be caused because image, documents and video modules haven`t passed the upgrade. To fix the problem go to Administration->Modules & Services and locate Libraries and select the option to Deactivate it.
After this select the option to uninstall it (don`t worry none of the images will be lost).
After uninstall select the option to install it again. This time installation should pass successfully.
There is a chance to get an error which says that there is a duplicate value in table sf_presentation_data. In this case you need to get the id of the duplicate item (it will be in the error message) and delete it manually on the sql server. For precaution, backup your database before executing the delete.
I hope these steps will help you solve the issue. If any other issues appear, do not hesitate to contact us again.
Have you disabled any modules under Modules and services? Can you please send me an image of your modules and services section?Also, try to enable other modules that are disabled on your side.
The problem must have occurred after an upgrade of sitefinity to version 6.0 where hierarchical libraries for all media content is available.
After you have reinstalled the module the installation has fail and an error message will be displayed presenting an error indicating that in table sf_presentation_data a duplicate ID was attempted to be entered. The Id that is contained in the error message have to be deleted from sf_presentation_data table to install the module with success and fix the problem.
A sample Error message that will be thrown by the module is:
. Cannot insert duplicate key
. The duplicate key value
(db0d628c-5471-4197-a94f-000000000003). The statement has been
failed: Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint
1. Backup the database
2. Execute this SQL Queries in the database to:
DELETE FROM [DatabaseName].[dbo].[sf_presentation_data]
WHERE id =
Where the DatabaseName is the name of the database.
3. Run your project.
Repeat steps 1 to 3, because there might be two or three problematic templates.
4. Go to Administration -> Backend pages and delete all child pages under
Sitefinity -> Content -> Types of Content -> Images
Sitefinity -> Content -> Types of Content -> Videos
Sitefinity -> Content -> Types of Content -> Documents & Files
5. Go to App_Data -> Sitefinity -> Configurations -> SystemConfig.config file
6. Remove the version and the start up form the line of the Libraries module. The line should look like this: