Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN works fine but default page goes to "ErrorPage"DNN works fine but default page goes to "ErrorPage"
New Post
10/22/2014 8:29 AM

Hi all,

 I have a DNN website migrated recently. Everything works fine and but the home page shows the "ErrorPage". I am inserting the image below.


My  screen grab is bit large; sorry for that. There are no further errors in logs anywhere. When I checked "Inspect element' in FF browser, I get the following.


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


 I tried changing the priority of the default page from web server, but it won't reflect and still show this "error_page" instead.

 Please help me out to load the website with the required "default.aspx" or to avoid loading the 'errorpage".

 Similar unresolved post  :

Thanks in advance fellas.


Leo Prince


New Post
10/26/2014 5:38 PM
that looks to be a pretty old site (based on the images) - what version did you migrate from and what version to? As to the issue, I suggest checked the PortalAlias table and ensuring there are no odd/unwanted urls in there (if you remove any, please ensure you recycle the website so it picks up the new data i.e open the web.config, add a space, save it, remove the space and save it will force an application recycle)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
10/29/2014 1:19 AM

Thank you for your response.

We only migrated across servers and not across version. I know this is an old version but as long as application works, I don't mind upgrading.

 Regarding the issue, I fetched the "PortalAlias" table but unable to see any suspicious URLs. Please find the screenshot taken from myLittleadmin


Could you please tell me which one needed to remove or should I look into any other tables..

Please advise. Thanks in advance.


New Post
10/29/2014 4:43 AM
please check content of portalAlias table, do not modify table structure.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
10/29/2014 6:08 AM

Hi Sebastian,

Could you please look into my second response. It includes the screenshot taken from myLittleadmin with the required " PortalAlias" table. I haven't changed the table structure or else so far. Could you please look into my "portalAlias" table contents and let me know what changes necessary. Let me know if any other details required.

 Thanks in advance,


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN works fine but default page goes to "ErrorPage"DNN works fine but default page goes to "ErrorPage"

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?