+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Custom module doesnt install

Custom module doesnt install

6 posts, 0 answered
  1. Duneel
    Duneel avatar
    166 posts
    Registered:
    08 Dec 2010
    01 Apr 2011
    Link to this post
    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
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    04 Apr 2011
    Link to this post
    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
  3. Duneel
    Duneel avatar
    166 posts
    Registered:
    08 Dec 2010
    04 Apr 2011
    Link to this post
    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
  4. Duneel
    Duneel avatar
    166 posts
    Registered:
    08 Dec 2010
    04 Apr 2011
    Link to this post
    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
  5. Chris
    Chris avatar
    2 posts
    Registered:
    31 Mar 2011
    21 Jul 2011
    Link to this post
    @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.
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    22 Jul 2011
    Link to this post
    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 >>

6 posts, 0 answered