Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Cannot insert duplicate key" error during initial install"Cannot insert duplicate key" error during initial install
Previous
 
Next
New Post
8/26/2011 1:39 AM
 
I am installing DNN 6.0. New install, new db, etc... it works fine until it's gone through the wizard, and then it hangs and comes back with:

"Error Installing Portal:Violation of UNIQUE KEY constraint 'IX_PortalAlias'. Cannot insert duplicate key in object 'dbo.PortalAlias'. The statement has been terminated."

I have deleted and recreated the db, re-uploaded all files, and I get the same error.  It's very consistent.

I'm using the install zip file, and this last time, I uploaded the zip and let the host's file manager do the extraction.

I'm not new to DNN, so have dealt with some issues before, but this one is new to me.

Any tips?  Ideas?


Thanks,
JS

"As a child to his father, I offer to thee these things, the work of the hands which thou hast made. Do with them what thou wilt." - Aule in The Silmarillion by JRR Tolkien
 
New Post
8/26/2011 7:51 AM
 
please check your portalalias table and ensure there are no duplicates listed -via the ui you can do this at admin->site settings

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/26/2011 9:54 AM
 
It's at the very end of the installation wizard that it comes back with the error.  I can't actually get into the site (I think I worded that poorly before, it looks to me like it fails during the actual creation of the site).

Here's a screenshot: http://www.shammelle.com/Shared/Insta...

"As a child to his father, I offer to thee these things, the work of the hands which thou hast made. Do with them what thou wilt." - Aule in The Silmarillion by JRR Tolkien
 
New Post
8/26/2011 12:01 PM
 
that doesnt make sense as its a new install -can you check your web.config and make sure both connectionstrings point to the correct database?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/26/2011 12:10 PM
 
They both look correct.  Checked the other DNN installs to make sure they're correct as well... everything looks like it should.

"As a child to his father, I offer to thee these things, the work of the hands which thou hast made. Do with them what thou wilt." - Aule in The Silmarillion by JRR Tolkien
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Cannot insert duplicate key" error during initial install"Cannot insert duplicate key" error during initial install


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out