You need to Register for free and Login to post a message in the forum.

Forum

Subject: Is there a way to remove a module when it loads in error?
Prev Next
You are not authorized to post a reply.

Author Messages
robroberts
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

16 Oct 2008 1:59 PM  
I have incorrectly added an old version of CC_ImageHeader into a DNN 4.6 site. The module fails and says it can't find enough information to load, thus failing to show the admin menus for the module itself (so I can't delete it that way).  Is there some data I can delete from the tables or some other method by which I can remove the module from the pane in which it is inserted?

The actual error message is below.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Error: CC_ImageHeader is currently unavailable. ---> System.InvalidCastException: Unable to cast object of type 'ASP.desktopmodules_cc_imageheader_viewcc_imageheader_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)


jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2517


17 Oct 2008 7:35 AM  
If you can login as host, you can uninstall that module.  

If you can't login as host, but have access to the website directory, remove the module's directory from the DesktopModules directory.

If neither of these work, you'll have to dig into the database table.  If you have to do that, you may be able to figure out what you need to do from these tutorials:
If not, ask for more help.


Joe Craig
DNN Creative Support
Subscribe to the website
robroberts
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

17 Oct 2008 7:53 AM  

I was afraid that uninstalling the module would make it impossible to remove the instance of the module from the pane (which was really what the error message looked like).

I found another trick that apparently takes advantage of a "feature" of DNN.  Install another module with a known control menu in the same pane.  That way, DNN forces differentiation between the 2 modules and re-instates a standard menu for the errant module (it was not the original CC_ImageHeader menu).  That menu had the "delete" option available, so I deleted both modules successfully from the pane.

Thanks for your help, and I'll file that suggestion too in case I screw this up again!

You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Is there a way to remove a module when it loads in error?



ActiveForums 3.7

Latest Forum Posts

RE: Child portal to live site by psgrzelak
Kind of a round about way of answering my question without answering it.... I prefer the straight fo...
RE: Child portal to live site by jncraig
A subscription to this site will let you view the tutorials.  I believe that will be useful.  In fac...
RE: Child portal to live site by psgrzelak
Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than w...
RE: DotNetNuke News 8th Dec 08 by jncraig
Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
RE: Can't Login! Login Page can't be accessed... by jncraig
This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
RE: Create new 'host' user? by jncraig
You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
Create new 'host' user? by jonathanbrickman0000
I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
RE: split copyrgt option in two lines by jncraig
You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
RE: Can't Login! Login Page can't be accessed... by jncraig
Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
AppTheory
RSS Feeds