DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Determine DLLs not in use

 3 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 17
New Around Here

I've inherited a 10+ year old DNN instance that was at 9.2.2 and I've so far upgraded to 9.4.4 and we're working on scehduling the next upgrade to the latest stable.  In working on the system the developers discovered we're suffering from this issue because the RadEditor still lingers in the web.config and bin folder.

https://dnncommunity.org/forums/aft/1128

In going to look into that I see DLLs going back to 2010 in the bin folder and lots of other DLLs for extensions that are no longer in use and were removed.  Over the decade of use either the option to delete the files was never checked or the uninstaller for modules left behind their DLLs.

How do I determine which of these DLLs are not actually needed anymore and can be removed?

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Make sure that you make a good backup of the site, both the database and the file system.
If possible, you should copy the site for experimentation.
Looking at the DesktopModules table will show you what is installed.
I think that the best way to determine if a dll file is needed is to remove it and see what happens. I would created a Removed folder in bin and drag files there. If you remove one and you find you need it, just drag it back.
If a module has been deleted, you can delete the corresponding folder in DesktopModules.
New Around Here
Posts: 17
New Around Here
Thanks for the information. I setup a fresh DNN 9.4.4 and installed all the same modules the other installation had into it and used that to merge compare the bin folder. That allowed me to find the DLLs that were orphaned by old installs and remove them.
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
That's a great way to do it!

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved