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

Forums / General Discussions / Could not find the specified key "ModuleName" or class id "ListsResources".

Could not find the specified key "ModuleName" or class id "ListsResources".

2 posts, 0 answered
  1. Anthony
    Anthony avatar
    108 posts
    Registered:
    29 Sep 2008
    16 May 2011
    Link to this post
    After upgrading from 4.1 to 4.1SP1 I am running into a couple of issues.

    1) When I first restart the server and attempt to log in I receive the following error: 

    Could not find the specified key "ModuleName" or class id "ListsResources".

    The full stack trace is in the attachment.

    I have tried to delete the entry in the Sitefinity>Configuration>System.config dealing with lists, but it always comes back the same.  It is different than any of the others:
    <?xml version="1.0" encoding="utf-8"?>
    <systemConfig build="1395" previousBuild="1339">
        <servicesModules>
            <add version="4.1.1395.0" name="Search" />
        </servicesModules>
        <applicationModules>
            <add version="4.1.1395.0" name="News" />
            <add version="4.1.1395.0" name="Blogs" />
            <add version="4.1.1395.0" name="Events" />
            <add version="4.1.1395.0" name="Libraries" />
            <add version="4.1.1395.0" name="Forms" />
            <add title="" description="" resourceClassId="" startupType="OnFirstCall" version="4.1.1395.0" name="Lists" />
            <add version="4.1.1395.0" name="Analytics" />
            <add version="4.1.1395.0" name="Scheduling" />
            <add version="4.1.1395.0" name="Publishing" />
            <add version="4.1.1395.0" name="Newsletters" />
            <add version="4.1.1395.0" name="GenericContent" />
            <add version="4.1.1395.0" name="ControlTemplates" />
        </applicationModules>
    </systemConfig>



    2) Once the error happens, I can go back to any of the pages in the public view and the Tools option will appear.  I can then use that to get to the backend of the site via the Edit this page in the backend option. 

    3) Upon reaching the backend, I can then  go to the websitename/Sitefinity address and end up on the Dashboard page.  All of the options are there. 

    4) If I go to the Pages tab and bring up the resulting page all of my pages are there and everything is normal, however when I select a page and try to edit it things change again.  It is as if a JavaScript file is not loading.  I cannot click on anything...back to pages, more actions...drag a widget.  Nothing happens.  Firebug reports 68 resources loading on the page.

    5) This only seems to be happening on pages that were not published during the upgrade.  If I click on the 4 pages that were published when doing the upgrade they function normally.  Firebug reports 71 resources loading on those pages.

    I noticed some of the differences in what is loaded and it seems the images for the layout editor do not get loaded.  Also the firebug console has this error in the pages that do not load:
    b.tagName is undefined
    http://distwebtest
    /ScriptResource.axd?d=wtTGqOqbUeBVfRLcg_QxabgDAcWu4HfyNVaKwVNN7KdwbZtpbdXypXWe6qCKV6t6moxicnpbpjnkclu5AOytJXmsknENObpngwlPtO4RZSv-fcSkzB3njwOQQrzLpcFaX--iN-xscVa-Rh2Rynng9A2&t=1199084a
    Line 365

    that line reads
    while(b){if(b.tagName.toLowerCase()==="form"){this._form=b;

    on the pages that load okay that line is the same.

    This happens no matter the user I am logged in as, although I am currently logged in as the super admin.

    Any ideas what could cause these problems?

    Anthony
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    18 May 2011
    Link to this post
    Hello Anthony,

    Do you have any custom controls or modules?  If you get this error it means that one of the modules is removed from the system configuration and/or it fails to initialize properly. If it does not initialize properly it will not be able to load its localization resources.  

    So please verify that your module is correctly registered / or removed - if it is custom module / from your system and the references / dependencies, assemblies / are correctly set as show in our documentation.


    If you have deleted the Lists module or its dependency please make sure to visit this thread 

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/newsletter-enhancements-in-q1-2011.aspx

    where you can find a solution, proposed by my colleague Boyan.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered