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 ...internet crashed during new portalinternet crashed during new portal
Previous
 
Next
New Post
11/29/2006 3:47 PM
 
Take your time. Thanks for your help!
 
New Post
11/30/2006 9:42 AM
 
Thanks! Worked like a charm. I am sure many people will use this post - thanks again.
 
New Post
11/30/2006 11:20 PM
 
Timo Breumelhof wrote
Deleting an inaccessible portal
!!!Be careful this worked for me but I didn't test extensively,
make a backup of you database before trying.
Don't complain if you end up with a "dead" installation....(restore the DB and try something else.)
Only try this if there is no other way to delete the portal!


Login as Host - Choose: Host > SQL

First run this script to check the PortalId of the portal you want to delete (if you don't already know):
(Copy it in the textbox and click execute)
SELECT PortalId, PortalName FROM Portals

Clear the SQL box

Then run these and replace the x with the PortalId of the portal you want to delete:

DELETE FROM PortalDesktopModules WHERE PortalID = x
DELETE FROM Modules WHERE PortalID = x
DELETE FROM Skins WHERE PortalID = x
DELETE FROM Portals WHERE PortalID = x

(I copied them all to the SQL box and ran them all at once)


Don't forget the delete records from table Files, FolderPermission, Folders too.
 
New Post
11/30/2006 11:23 PM
 
Timo Breumelhof wrote
Deleting an inaccessible portal
!!!Be careful this worked for me but I didn't test extensively,
make a backup of you database before trying.
Don't complain if you end up with a "dead" installation....(restore the DB and try something else.)
Only try this if there is no other way to delete the portal!


Login as Host - Choose: Host > SQL

First run this script to check the PortalId of the portal you want to delete (if you don't already know):
(Copy it in the textbox and click execute)
SELECT PortalId, PortalName FROM Portals

Clear the SQL box

Then run these and replace the x with the PortalId of the portal you want to delete:

DELETE FROM PortalDesktopModules WHERE PortalID = x
DELETE FROM Modules WHERE PortalID = x
DELETE FROM Skins WHERE PortalID = x
DELETE FROM Portals WHERE PortalID = x

(I copied them all to the SQL box and ran them all at once)


Don't forget to delete records from table Files, FolderPermission, Folders too.
 
New Post
12/1/2006 5:24 AM
 
I don't think you have to since those have a "Cascade Deleted" relationship with the Portals table.
One thing I did forget is that you could remove some folders
1. the /Portals/X folder
2.For a childportal there's a folder with it's name in the root DNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...internet crashed during new portalinternet crashed during new 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