How to remove an imported custom module

corey steinwand asked on August 2, 2018 19:20

Not using NuGet.

I ran into a situation while going through the Kentico Advanced Developer training course.

I installed the doctor/appointments custom module that was provided via a link to GitHub from the course.

I wanted to check my work against the completed example.

I went to Sites Application and imported the custom module. Then I wanted to remove it, but I couldn't find where to remove it. And when I went to delete it, I received an error.

I had to revert to a clean install, and I don't think I should have to do that, but can't find any documentation that talks about removing a module, that isn't a Nuget package

How can I remove the imported module without having to do a clean install?

Recent Answers


Peter Mogilnitski answered on August 2, 2018 21:08 (last edited on August 2, 2018 21:09)

See documentation. You can not uninstall modules that were transferred directly using the Kentico export and import features. You may try to delete it.

0 votesVote for this answer Mark as a Correct answer

corey steinwand answered on August 2, 2018 21:12

I did use the Kentico import feature

0 votesVote for this answer Mark as a Correct answer

Ashutosh Pandey answered on December 17, 2018 16:19 (last edited on December 17, 2018 17:44)

I also imported module and found out it was not handled properly in Kentico.

Apart from files in App_Code\CMSModules and CMSModules + tables created by module, which files needs to be removed or entries from tables to be removed?

I'm stuck, I cannot remove this module by any means :(

**Edit: ** I tried following link and updated values in database (matched with local) but still cannot remove module as child components are disabled and cannot be removed

https://devnet.kentico.com/questions/how-to-delete-imported-module

0 votesVote for this answer Mark as a Correct answer

Ashutosh Pandey answered on December 18, 2018 02:14

I updated ResourceIsInDevelopment = 1 in the CMS_Resource table and it allowed me to delete the module by deleting the child first.

But, it took time to allow me. I turned off my computer in frustration and the next morning, it allowed me to delete.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.