Custom module doesnt install

Posted by Community Admin on 05-Aug-2018 20:30

Custom module doesnt install

All Replies

Posted by Community Admin on 01-Apr-2011 00:00

Hi,

It seems I can't install more than one custom module in the same website. I have two modues and I can installs only only one of them on a fresh SF website. After one module is installed the second one cannot be installed. When i install the two modules on two different websites it worked. So for the second module that I install, everything has been created except the backend database tables and sitefinity backend landing page. Any idea why?

Thanks!
Duneel

Posted by Community Admin on 04-Apr-2011 00:00

Hi Duneel,

When creating modules please verify that all the needed steps for creating and registering modules are followed correctly. I would recommend checking the online documentation and tutorials available on our website.

http://www.sitefinity.com/documentation/how-to-create-a-basic-module/register-the-module.aspx

Also I would suggest you to make a break point in the Install method and verify whether everything is installing correctly. If your module is not visible in the Menu it doesn't mean that it is not working, simply the install method doesn't install correctly the page. It is up to you to modify the Install method of the module to include as many pages as you like.

Please have a look at this thread:

http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/why-doesnt-the-vs-sitefinityintermediatemodule-install.aspx

Let me know whether the proposed solutions help.

All the best,
Victor Velev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 04-Apr-2011 00:00

Hi Victor,

As you said I placed a breakpoint in the Install and InstallPages methods and everything was executed without any errors. I'm not getting any errors. Looks like although the code is executed, the backend pages havent created unser Sitefinity->Content->Types of Content. Also I checked the GUIDs I'm using in this module for the landing pages and they are unique to this module.

The interesting thing with this is if I install this module on a fresh website that doesnt have any custom modules installed, Then the module installs successfully.

Thanks,
Duneel

Posted by Community Admin on 04-Apr-2011 00:00

Hi guys,

No worries my problem is solved. I dont know exactly what was causing this issue. I copied the ProductsModule.cs to my module and changed and it installed properly.

Thanks!
Duneel

Posted by Community Admin on 21-Jul-2011 00:00

@Telerik Admin, the link http://www.sitefinity.com/documentation/how-to-create-a-basic-module/register-the-module.aspx is broken.


Please update your post.

Posted by Community Admin on 22-Jul-2011 00:00

Hello Chris,

My post dates back to the beginning of April and our documentation has been upgraded numerous times since then. Please find the requested information here:

http://www.sitefinity.com/40/help/developers-guide/how-to-how-to-create-a-jobs-module-installing-the-module.html

All the best,
Victor Velev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

This thread is closed