5 Replies Latest reply on Oct 23, 2015 10:32 AM by crodierde

    Does anyone know of a fix for error 5524?

    Rookie

      Here is the error that is happening when I try to login to the manage suite:

       

      10/20/2015 15:40:36 ERROR 5524:Main Thread DataServices.Database : ExecuteDataTable

      System.Configuration.ConfigurationErrorsException: The 'DbProviderFactories' section can only appear once per config file.

         at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

         at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)

         at System.Configuration.ConfigurationManager.GetSection(String sectionName)

         at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)

         at System.Data.Common.DbProviderFactories.Initialize()

         at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)

         at LANDesk.DataServices.OleDbHelper.get_DbFactory()

         at LANDesk.DataServices.OleDbHelper.ExecuteDataTable(CommandType commandType, Boolean SchemaOnly, String commandText, Object[] commandParameters)

         at LANDesk.DataServices.Database.Database.ExecuteDataTable(String sql, Boolean schemaOnly, Object[] parameters)

      10/20/2015 15:40:36 INFO  5524:Main Thread RollingLog : Exception:

      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: The 'DbProviderFactories' section can only appear once per config file.

         at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

         at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

         at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)

         at System.Configuration.ConfigurationManager.GetSection(String sectionName)

         at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)

         at System.Data.Common.DbProviderFactories.Initialize()

         at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)

         at LANDesk.DataServices.OleDbHelper.get_DbFactory()

         at LANDesk.DataServices.OleDbHelper.ExecuteDataTable(CommandType commandType, Boolean SchemaOnly, String commandText, Object[] commandParameters)

         at LANDesk.DataServices.Database.Database.ExecuteDataTable(String sql, Boolean schemaOnly, Object[] parameters)

         at LANDesk.ManagementSuite.Database.Database.ExecuteDataTableP(String sql, Boolean schemaOnly, Object[] parameters)

         at LANDesk.ManagementSuite.Database.Database.ExecuteDataTableP(String sql, Object[] parameters)

         at LANDesk.ManagementSuite.Data.DB.Load(String sql, DBLoadSaveLevel whatToLoad, Type t, Object[] otherParams)

         at LANDesk.ManagementSuite.Data.DB.Load[T](String sql, DBLoadSaveLevel whatToLoad, Object[] otherParams)

         at LANDesk.ManagementSuite.Data.TrustedToken.LoadTrustedTokenList(Boolean force)

         at LANDesk.ManagementSuite.Data.TrustedToken.GetTokenRights(String token)

         at LANDesk.ManagementSuite.Data.AssemblyHelper.AuthorizeRunningProcess()

         --- End of inner exception stack trace ---

         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

         at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

         at LANDesk.ManagementSuite.Database.DBCache. ()

         at LANDesk.ManagementSuite.Database.DBCache. (Thread  , String  , String  )

         at LANDesk.ManagementSuite.Database.DBCache. ()

         at LANDesk.ManagementSuite.Database.DBCache.get_db()

         at LANDesk.ManagementSuite.WinConsole.FormMain.ConnectToDatabase()

      10/20/2015 15:40:36 INFO  5524:Main Thread RollingLog : ApplicationException Exception: Exception has been thrown by the target of an invocation.

       

      I tried to change the machine.config file but that made it worse so I reverted back to the old one.