Got this error when publishing css file:
Phase:
Deployment Prepare Commit Phase failed,
Unable to prepare transaction: tcm:0-104418-66560, org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
Unable to prepare transaction: tcm:0-104418-66560, org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta]
Some of the settings from <Storages>
section from cd_storage_conf.xml
file:
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL"
Class="com.tridion.storage.persistence.JPADAOFactory" defaultStorage="true">
<Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="******" />
<Property Name="portNumber" Value="1759" />
<Property Name="databaseName" Value="***" />
<Property Name="user" Value="****" />
<Property Name="password" Value="****" />
</DataSource>
</Storage>
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory"
Id="*****" defaultFilesystem="false">
<Root Path="C:\inetpub\wwwroot\*****" />
</Storage>
<ItemTypes defaultStorageId="defaultdb" cached="false">
Any help will be highly appreciated.
I haven't tried with any other file.
Many thanks, Vip
<Storages>
section of yourcd_storage_conf.xml
and also does this issue happen for all the items you publish or just a specific one?<ItemTypes>
mapping fromcd_storage_conf.xml
could also help, sorry for not asking that earlier. Also you mention you are publishing a css file, is that a Page or a Multimedia Component in SDL Tridion?