Jump to content

Configuration system failed to initialize


Recommended Posts

Posted

Help!!

While working in Autocad 2011, I had a power cut. After rebooting the system,

everytime I start Autocad 2011 I get a message "the customization file you are trying to load is invalid.Swelect a diff customization file and try again."

on clicking ok 3 times I get another message "unhandled exception has occured in your application......Configuration system failed to initialize."

the details are:

Application does not support just-in-time (JIT)

debugging. See the end of this message for details.

 

************** Exception Text **************

System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Users\kev\AppData\Local\Autodesk,_Inc.\DefaultDomain_Path_bwycswj4l0mijpdw3ttamfd5sbysqavn\R18.1.49.0.0\user.config) ---> System.Xml.XmlException: Root element is missing.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.XmlTextReaderImpl.Read()

at System.Xml.XmlTextReader.Read()

at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)

at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

--- End of inner exception 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.OnConfigRemoved(Object sender, InternalConfigEventArgs e)

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

at System.Configuration.ConfigurationManager.PrepareConfigSystem()

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

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

at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()

at System.Diagnostics.DiagnosticsConfiguration.Initialize()

at System.Diagnostics.DiagnosticsConfiguration.get_Sources()

at System.Diagnostics.TraceSource.Initialize()

at System.Net.Logging.InitializeLogging()

at System.Net.Logging.get_On()

at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)

at System.Net.WebRequest.Create(Uri requestUri)

at MS.Internal.WpfWebRequestHelper.CreateRequest(Uri uri)

at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)

at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)

at System.Windows.Media.Imaging.BitmapDecoder.Create(Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)

at System.Windows.Media.Imaging.BitmapDecoder.Create(Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption)

at Autodesk.Private.Windows.RibbonUtil.LoadImage(Uri uri)

at Autodesk.Private.Windows.RibbonImageSource.LoadImage()

at Autodesk.Private.Windows.RibbonImageSource.get_LoadedImage()

at Autodesk.Windows.RibbonItem.get_ImageOverride()

at Autodesk.Windows.RibbonItem.CopyFrom(RibbonItem source)

at Autodesk.Windows.RibbonCommandItem.CopyFrom(RibbonItem source)

at Autodesk.Windows.RibbonButton.CopyFrom(RibbonItem source)

at Autodesk.Windows.RibbonItem.System.ICloneable.Clone()

at Autodesk.Windows.RibbonItem.Clone()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.AddAllStandardItems()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.LoadContent()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.RestoreItems()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.Initialize()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.LoadQuickAccessToolbar()

at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolbarService.OnApplicationIdle(Object sender, EventArgs e)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at Autodesk.AutoCAD.ApplicationServices.Application.raise_Idle(Object value0, EventArgs value1)

at Autodesk.AutoCAD.ApplicationServices.Application.OnIdle()

 

 

************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

acdbmgd

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcdbMgd.DLL

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

msvcm90

Assembly Version: 9.0.30729.4148

Win32 Version: 9.00.30729.4148

CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_5090ab56bcba71c2/msvcm90.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

PresentationFramework

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4000 built by: QFE

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll

----------------------------------------

WindowsBase

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4000 built by: QFE

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll

----------------------------------------

PresentationCore

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4000 built by: QFE

CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll

----------------------------------------

AdApplicationFrame

Assembly Version: 0.0.0.0

Win32 Version: 3.0.264.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AdApplicationFrame.DLL

----------------------------------------

AdWindows

Assembly Version: 3.0.263.0

Win32 Version: 3.0.263.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AdWindows.DLL

----------------------------------------

PresentationFramework.Classic

Assembly Version: 3.0.0.0

Win32 Version: 3.0.6920.4000 built by: QFE

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Classic/3.0.0.0__31bf3856ad364e35/PresentationFramework.Classic.dll

----------------------------------------

acmgd

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/acmgd.DLL

----------------------------------------

System.Core

Assembly Version: 3.5.0.0

Win32 Version: 3.5.30729.1 built by: SP

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

AcWindows

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcWindows.DLL

----------------------------------------

AcWindows.resources

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/en-US/AcWindows.resources.DLL

----------------------------------------

AcCui

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcCui.DLL

----------------------------------------

CsMgdAcad3

Assembly Version: 1.0.3694.29232

Win32 Version: 1.0.3694.29232

CodeBase: file:///C:/Program%20Files/Autodesk%20Research/CommunityCommands/CsMgdAcad3.dll

----------------------------------------

CommunityCommands1

Assembly Version: 0.0.0.0

Win32 Version: 0.0.0.0

CodeBase: file:///C:/Program%20Files/Autodesk%20Research/CommunityCommands/CommunityCommands1.DLL

----------------------------------------

ContextualTabSelectorRules

Assembly Version: 0.0.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcWindows.dll

----------------------------------------

AcCustomize

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/AcCustomize.DLL

----------------------------------------

AcCustomize.resources

Assembly Version: 18.1.0.0

Win32 Version: 18.1.49.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/en-US/AcCustomize.resources.DLL

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

ManagedMC3

Assembly Version: 4.11.0.0

Win32 Version: 4.12.0.0

CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202011/ManagedMC3.DLL

----------------------------------------

 

************** JIT Debugging **************

Application does not support Windows Forms just-in-time (JIT)

debugging. Contact the application author for more

information.

 

On trying to reload Autocad there is no repair option. Please help I need Autocad up and running within 9 hrs. pls pls help

Posted
On trying to reload Autocad there is no repair option. Please help I need Autocad up and running within 9 hrs. pls pls help

 

I believe you will only have an option to repair Autocad from the control panel Uninstall applications not during initial installation.

 

KC

Posted

Call autodesk..

 

Optionally, reinstall Autocad.. it's likely that they'd tell you to do that anyways, assuming there's no "repair" in the add remove/programs area in the control panel, like KC suggested..

  • 1 month later...
Posted

System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Users\kev\AppData\Local\Autodesk,_Inc.\Default Domain_Path_bwycswj4l0mijpdw3ttamfd5sbysqavn\R18.1 .49.0.0\user.config) ---> System.Xml.XmlException: Root element is missing.

 

-

Just delete the said configuration file from the error message (i.e. C:\Users\kev\AppData\Local\Autodesk,_Inc.\Default Domain_Path_bwycswj4l0mijpdw3ttamfd5sbysqavn\R18.1 .49.0.0\user.config). AutoCAD should launch correctly after that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...