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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Upgrading a desktop mopuleUpgrading a desktop mopule
Previous
 
Next
New Post
2/16/2010 5:40 AM
 

Hi all,

With some urgency, I need to fix a bug in a desktop module. Completely new to, in fact haven't even started learning, DNN. Assuming the old errant module is already in place and I have corrected code and compiled, is it OK to just switch folders (and containing files), without doing anything at all in DNN administration?

It may not be the recommended way, but can it be done? Please say yes!

Regards,

Johan Bryntesson

 
New Post
2/16/2010 9:01 AM
 

In the usual approach to upgrading a module, the upgrade will have a higher version number than that already installed and will be installed in the same manner as the initial install via (in DNN 5.x) either Host-->Module Definitions-->Install Module or Most-->Extensions-->Install Extension Wizard. If the version number of the upgrade is the same as that already installed, the DNN 5.x installer does offer a "Repair" mode which will essentially replace the existing module files with those of the upgrade.

File replacement (either manually using the repair mode of the extensions installer) will only work if 1) there are no changes to the SqlDataProvider scripts, 2) the module upgrade does not need to run code in its implementation of the IUpgradable interface, and 3) no changes to the module and module controls registration in the database is needed.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/17/2010 3:31 AM
 
Thanks for your answer, William! I must be missing something. I simply replaced the whole folder in DesktopModules with the new one. The change is that a resource file has some new text to be replaced by a new line of code, and then mail out the result. The DLL is apparently not being found, because the replacement text appears unaltered in the mails. So that a like-named DLL is in the same place as the old one is not good enough? I also restarted the IIS. best, Johan
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Upgrading a desktop mopuleUpgrading a desktop mopule


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