More in this section

Forums / Developing with Sitefinity / Module Builder is throwing errors after upgrade to 5.1

Module Builder is throwing errors after upgrade to 5.1

4 posts, 0 answered
  1. Ibrahim Al-Omari
    Ibrahim Al-Omari avatar
    8 posts
    Registered:
    02 May 2010
    14 Aug 2012
    Link to this post
    Hello, I am trying to figure out how to resolve this issue after upgrading to 5.1. in the Administration section, Module Builder marked with Failed status with the following in the error log ..  please help .. 

    08/14/2012 04:12:14
    Type : System.Configuration.ConfigurationErrorsException, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Message : Invalid configuration section root element "dynamicModulesConfig". Section "Telerik.Sitefinity.DynamicModules.Builder.Configuration.ModuleBuilderConfig" expects element "moduleBuilderConfig".
    Source : Telerik.Sitefinity
    Help link : 
    BareMessage : Invalid configuration section root element "dynamicModulesConfig". Section "Telerik.Sitefinity.DynamicModules.Builder.Configuration.ModuleBuilderConfig" expects element "moduleBuilderConfig".
    Filename : 
    Line : 0
    Errors : System.Configuration.ConfigurationException[]
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Boolean LoadSectionFromReader(Telerik.Sitefinity.Configuration.ConfigSection, System.Xml.XmlReader, Telerik.Sitefinity.Configuration.ConfigPolicyHandler, System.String, Boolean, UpgradingInfo ByRef)
    Stack Trace :    at Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromReader(ConfigSection section, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, Boolean checkForUpgrade, UpgradingInfo& upgradingInfo)
       at Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromFile(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName, Boolean withUpgrade)
       at Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName)
       at Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy)
       at Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider)
       at Telerik.Sitefinity.Configuration.Config.GetSectionInternal(Type sectionType, Boolean safeMode)
       at Telerik.Sitefinity.Configuration.Config.GetSectionPrivate(Type sectionType, Boolean safeMode)
       at Telerik.Sitefinity.Configuration.Config.GetSectionPrivate[TSection](Boolean safeMode)
       at Telerik.Sitefinity.DynamicModules.Builder.ModuleBuilderManager.get_ProvidersSettings()
       at Telerik.Sitefinity.Data.ManagerBase`1.GetProvidersSettings()
       at Telerik.Sitefinity.Data.ManagerBase`1.Initialize() 
  2. Kristian Smilenov
    Kristian Smilenov avatar
    32 posts
    Registered:
    18 Mar 2015
    15 Aug 2012
    Link to this post
    Hello
    Ibrahim,

    We haven't seen this error before. Can you please send us the project before the upgrade. Please inlcude project, configurations and database. I have set up an ftp where you can upload them easily. Just use the following info: 
    Set FTP in Active Mode!
    IP address: 82.103.64.22
    Username: Ibrahim
    Password: Zj]1$nwMu]Q

    Also you can include the configurations after the upgrade as well.

    By providing us with this information we will be able to find the problem faster and provide you with a solution.
    Thank you for your cooperation. I look forward to hearing from you.

    Regards,
    Kristian Smilenov
    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
  3. Ibrahim Al-Omari
    Ibrahim Al-Omari avatar
    8 posts
    Registered:
    02 May 2010
    15 Aug 2012
    Link to this post
    Thanks Kristian for your response, actually the project size is big, if you can give me some hints about this error I can work it out . 
  4. Kristian Smilenov
    Kristian Smilenov avatar
    32 posts
    Registered:
    18 Mar 2015
    16 Aug 2012
    Link to this post
    Hi
    Ibrahim,

    For some reason when section ModuleBuilderConfig is loaded the reader for it is not generated properly. 
    I have to ask if you have ModuleBuilderConfig.config file in your configurations before the upgrade? If not you can try adding it with artificial custom provider like this:

    "ModuleBuilderConfig.config" file:
    <?xml version="1.0" encoding="utf-8"?>
    <moduleBuilderConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="5.1.4610.31188">
        <providers>
            <add title="CustomMBProvider" type="Telerik.Sitefinity.DynamicModules.Builder.Data.OpenAccessModuleBuilderDataProvider" enabled="True" name="CustomMBProvider" />
        </providers>
    </moduleBuilderConfig>

    Note: Change the version of the config to yours. In this line of thoughts which version of Sitefinity do you use? 

    The size of your project will not be a problem for our ftp in case you decide to send it. It will be the easiest and fastest way to help you.
    Regards,
    Kristian Smilenov
    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
4 posts, 0 answered