The Backup Exec for Windows Servers console does not open and reports that user.config file is corrupt without showing a path to the corrupted file.

Article:TECH68868  |  Created: 2009-01-18  |  Updated: 2012-01-27  |  Article URL http://www.symantec.com/docs/TECH68868
Article Type
Technical Solution

Product(s)

Issue



The Backup Exec for Windows Servers console does not open and reports that user.config file is corrupt without showing a path to the corrupted file.


Solution



While launching the Backup Exec for Windows Servers console the following error message is reported. (Figure 1)
 

 
 
 
Figure 1
 

 
Backup Exec stores the users settings in a file called "user.config". The above error may occur if this file becomes corrupt or is not created.
 

 
Resolution:
 

 
1. Uninstall .NET Framework 2.0 and related updates on the media server from "Add/Remove Programs"
 
2. Reboot the media server
 
3. Reinstall .NET Framework 2.0 and related updates on the media server
 
4. Reboot the media server
 
 
Note: .Net Frame Work 2.0 can be downloaded using the link http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55 
 
Opening Backup Exec for Windows Servers console should now be successful.
 
Repairing the .Net Framework doesnot fix the issue for further troubleshooting follow the below steps.
 
1)  launch SGMON and debug the launch of the BE interface
2)  In this case, there was an unknown reference in the .Net 2.0 configuration files
From SGMON log:
   Configuration system failed to initialize
   Stack Trace:   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
      at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
      at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.RefreshConfig(String sectionName)
      at System.Configuration.ConfigurationManager.RefreshSection(String sectionName)
      at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
      at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
      at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
      at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
      at System.Configuration.SettingsBase.get_Item(String propertyName)
      at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
      at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
      at BackupExec.UI.Data.BESettings.get_StatusBarVisible()
      at BackupExec.UI.MainForm..ctor()
   Inner Exceptions:
   Exception:System.Configuration.ConfigurationErrorsException
   Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 134)
   Stack Trace:   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
      at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
      at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
      at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
3)  edited C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config and removed offending section
In this case the unrecognized section was <system.serviceModel>
Removed:
    <system.serviceModel>
              all inclusive
       </system.serviceModel>
4)  Saved file and opened Backup Exec successfully
 


Legacy ID



321222


Article URL http://www.symantec.com/docs/TECH68868


Terms of use for this information are found in Legal Notices