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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Remove Module From Page WITHOUT Viewing That Page?Remove Module From Page WITHOUT Viewing That Page?
Previous
 
Next
New Post
9/11/2007 1:47 AM
 

...got a repository module acting up on one of my hidden development pages; I can no longer view the page without triggering an application error related to the repository module.  Therefore, I am wondering how we can remove a module without viewing that page?  Would I go into the db, find the respective table and remove it? Where would I look exactly?

 

 
New Post
9/11/2007 3:06 AM
 

Haven't had to do this in a while and I'm not up on versions as much as I should be, but here is how I've handled this in the past. First you don't want to remove any table but the record in the modules table. If you can view the source of the page and if it will show you the module number then that is the info you will need. If you log in as a non host account then you should have the nice little error about the module not being available and looking at the source should allow you to figure out what the module Id is. Then jsut go into the modules table and remove the related record.

If you can't get the module ID, then you could remove the module defintion which should let you get back on. Of course this option will remove any instances of the module throughout your install and if there is any data there then it will go bye bye.

hth

Bruce

 
New Post
9/11/2007 1:29 PM
 

I have the page hidden, so no-go on logging is as a non-host. Also, I am unable to view the source and get the module ID, as the source is showing the application error only.  :(

...only thing I can glean from the error is that the module causing the error is, in fact, the repository dashboard:

ReferenceException: Object reference not set to an instance of an object.
   DotNetNuke.Modules.Repository.RepositoryDashboard.FindRepository() +61
   DotNetNuke.Modules.Repository.RepositoryDashboard.Page_Load(Object sender, EventArgs e) +139
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

PageLoadException: Object reference not set to an instance of an object.
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +363
   DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +484
   System.Web.UI.TemplateControl.OnError(EventArgs e) +105
   System.Web.UI.Page.HandleError(Exception e) +73
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6944
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.default_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
9/11/2007 2:30 PM
 

Hi,

I'm not sure how much that page means to you and you may have already thought of this, but when I had bad modules like that in the past, I would just delete the page under Admin > Tabs and start over.

Thanks,

Mike

 
New Post
9/11/2007 5:20 PM
 

digmike wrote

Hi,

I'm not sure how much that page means to you and you may have already thought of this, but when I had bad modules like that in the past, I would just delete the page under Admin > Tabs and start over.

Thanks,

Mike

Yea, I am holding out a bit longer, but that's my standard fix, that's for sure.  It's just my play page where I tweak stuff before moving live, but there are a couple of things on there I would like to save....but if not, I'll do as you suggest and just start a new development page and write this one off as a lesson learned.  :)

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Remove Module From Page WITHOUT Viewing That Page?Remove Module From Page WITHOUT Viewing That Page?


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