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 ...Violation of UNIQUE KEY constraint Violation of UNIQUE KEY constraint 'IX_PortalAlias'.
Previous
 
Next
New Post
3/29/2011 12:57 PM
 
I just newly installed the source version 5.6.2 and got an exception as "Violation of UNIQUE KEY constraint 'IX_PortalAlias'. Cannot insert duplicate key in object 'dbo.PortalAlias'. The statement has been terminated". Got this error at end of the installation process. But I could open site successfully. Does this error create any issues going ahead ? Has anyone faced this exception while completing the installation process ?
 
New Post
3/29/2011 1:37 PM
 
Something tried to add an already existing PortalAlias to your site. I have no idea why, a stack trace that led to that error message may help determine that.

There should be nothing to worry about, you obviously already have the required portal alias record. As long as the error doesn't keep repeating, I don't see it causing any additional problems.
 
New Post
3/30/2011 3:49 AM
 
I assume there is an issue with auto portal alias routine. You may safely ignore the issue and turn off auto portal alias creation in DNN 5.6.2

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/31/2011 4:19 AM
 
Thank you Scott and Sebastian for your quick response.
 
New Post
6/3/2011 11:30 AM
 
i have the same problem, i have a 5.6.0 version, in my local iis there is no problem. but i publish it with vs2010 to a hosting environtment and each time i enter to the site in this way http://array.arrayman.com i got the ErrorPage.aspx 

<form method="post" action="ErrorPage.aspx?status=500&amp;error=Violation+of+UNIQUE+KEY+constraint+%27IX_waf_PortalAlias%27.+Cannot+insert+duplicate+key+in+object+%27dbo.waf_PortalAlias%27.%0d%0aThe+statement+has+been+terminated."

but if i enter to site in this way http://array.arrayman.com/default.aspx   i have no problem.

some one can help me to understand and if posible solve this iusse.?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Violation of UNIQUE KEY constraint Violation of UNIQUE KEY constraint 'IX_PortalAlias'.


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