Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Unable to Delete Custom Attribute
Last Post 08/06/2013 5:47 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
jeda
New Member
New Member
Posts:9


--
08/01/2013 5:25 PM
Hi Peter,

I created a custom attribute that I no longer need. When I try to delete the attribute from the DMX > Admin > Global Attributes menu, I receive the following critical error:

"A critical error has occurred. The DELETE statement conflicted with the REFERENCE constraint "FK_dnn_DMX_EntryAttributes_Attributes". The conflict occurred in database "DotNetNuke7", table "dbo.dnn_DMX_EntryAttributes", column 'AttributeId'. The statement has been terminated."

Any suggestions for how to remove this attribute so it doesn't clutter the UI when new documents are uploaded?

Many thanks!
-jed
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/06/2013 5:47 PM
Hi Jed,

A quick way out of this is to remove all records from DMX_EntryAttributes with an AttributeID of the attribute you want to delete (which is in the DMX_Attributes table). I'll make a note to repair the logic.

Peter
You are not authorized to post a reply.