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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot Delete Child PortalCannot Delete Child Portal
Previous
 
Next
New Post
9/20/2013 10:42 AM
 

I am attempting to delete a child portal within my DNN 07.00.06 installation. I am signed in as host and deleted another portal successfully. However, with this portal, I receive the following error message:

The DELETE statement conflicted with the REFERENCE constraint "FK_UserDefinedData_UserDefinedFields". The conflict occurred in database "lakesidewebd", table "dbo.UserDefinedData", column 'UserDefinedFieldId'. The DELETE statement conflicted with the REFERENCE constraint "FK_Events_EventsCategory". The conflict occurred in database "lakesidewebd", table "dbo.Events", column 'Category'. The statement has been terminated. The statement has been terminated.

The domain has already been transferred to another hosting provider (not DNN) so the site is no longer available to me.

How can I delete this portal?

 

 
New Post
9/20/2013 2:01 PM
 
Both, Events and Form and List modules seem having placed foreign keys on the portal records, which might prevent the portal from being deleted.
You might either modify these foreign keys to support cascading delete or delete all instances of these modules from the pages and clear recycle bin prior to deleting the website.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/20/2013 2:12 PM
 

Thanks for the quick response Sebastian. This remedy is beyond me, however, since the site is now no longer accessible to me. The domain name has been used for a non-DNN site with another hosting provider. Is there another way to accomplish this?

 
New Post
9/23/2013 4:20 PM
 

The reply doesn't make sense to me (how can you login to the site if it's no longer available to you?). Aside from that, just move the web site and database to a different host. You'll need to insert a new Portal Alias into the database, of course. Then login, delete the modules/pages, clear the recycle bin, and delete the child portal.

 
New Post
9/26/2013 9:27 AM
 

Well still no joy here, but I did apply some advice from the previous post. Cannot move site as it is one of several sites within the portal. I did create a new child alias (site/child), logged into the site, and deleted everything. I don't know what has happened to the DNN recycle bin, but after deleting pages, I could not empty the recycle bin collectively. I had to select and delete each page individually. Anyway, after deleting all pages except home and having no content there, and then emptying the recycle bin, I still get the error message when I attempt to delete the site. And yes, I have recycled the app pool.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot Delete Child PortalCannot Delete Child Portal


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