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 ...Restore deleted module from database (recycle bin)Restore deleted module from database (recycle bin)
Previous
 
Next
New Post
8/6/2009 5:07 AM
 

I was deleted DC Localizator (locopon's) module from dnn 5.1.1. and now I get error when I try to login:  Critical error. Parameter count does not match Parameter Value count. I don't have any fresh bacup :((

It is possible to restore deleted module from database becouse I was unable to login to recycle bin?

Thanks,

 
New Post
8/6/2009 2:25 PM
 

Hey krof,

If the module is still "in the recycle bin" - bringing it back by updating the database will be pretty easy because DNN does a "soft delete" on modules, which means that there is an IsDeleted flag in the database. So we simply need to set that flag properly.

First, you'll need to figure out what your Module Definition ID is. You can look it up in the ModuleDefinitions table: select * from dnn_moduledefinitions where friendlyname like '%DC%'.

Then you'll want to identify the Module ID of the module in question. Look in the Modules table for that module definition ID where the IsDeleted flag is set to true: select * from dnn_Modules where ModuleDefID = Your_ID_Here and IsDeleted = 1.

Finally, you'll want to update the row that you've identified and set the IsDeleted flag to false: update dnn_Modules set IsDeleted = 0 where ModuleID = Your_ModuleID_Here.

Note: Above I am using an objectQualifier of "dnn_" for the table names above - you may not need to do so in your database. (e.g. dnn_modules is really just modules).

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
8/6/2009 3:36 PM
 

Thanx Ian,

Obviously this modul is not like "normal" modules.... I don't find any trace of it!
 

Developer's forum is also dead (http://dnn.tiendaboliviana.com/web/Support/Forums/tabid/72/GroupID/3/Locale/en-US/Default.aspx )

In fact I don't need this module any more, I just searching the solution how to get dnn working...

Any suggestions?

 
New Post
8/7/2009 2:37 PM
 

So, no rows exist for this module at all in the database? Like it was never even installed? Have you tried re-installing the module to see if that fixes your DNN site?

There may have been an Uninstall.SqlDataProvider file that was run that messed up your database.

Can you look in the eventlog table and see if you can find a more detailed error message?


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Restore deleted module from database (recycle bin)Restore deleted module from database (recycle bin)


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