Friday, June 13, 2014

Resolve DNN error “Violation of UNIQUE KEY constraint 'IX_PortalAlias'”

Encountered this error message after installing a DNN site in my local IIS and then browsing to my site:  “Violation of UNIQUE KEY constraint 'IX_PortalAlias'. Cannot insert duplicate key in object 'dbo.PortalAlias'. The duplicate key value is (default.aspx)”.

I resolved the problem by deleting all existing rows from the table dbo.PortalAlias.

No comments:

Post a Comment