When launching Toad for DB2 after a successful install, the following stack error occurs:
System.Configuration.ConfigurationErrorsException
Configuration system failed to initialize
Stack Trace:
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
at System.Net.Configuration.WebRequestModulesSectionInternal.GetSection()
at System.Lazy`1.get_Value()
at System.Net.WebRequest.get_PrefixList()
at System.Web.Util.HttpEncoder.get_Current()
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Web.HttpUtility.UrlEncode(String str, Encoding e)
at System.Net.WebRequest.Create(String requestUriString)
at Quest.Toad.WebBrowser.ToadResolver.TryUpdate()
at Quest.Toad.WebBrowser.ToadResolver.ResolveLink(String identifier)
at Quest.Toad.Settings.ToadSettings.DefaultSearchLink(String key)
at Quest.Toad.Gui.MainForm.SearchModeIcon(SearchEngine engine)
at Quest.Toad.Gui.MainForm.UpdateSearchIcon(Object sender, EventArgs args)
at Quest.Toad.Gui.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
at Quest.Toad.Gui.BaseForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at Quest.Toad.Gui.MainForm.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.Configuration.ConfigurationErrorsException
The 'system.data' start tag on line 182 position 4 does not match the end tag of 'DbProviderFactories'. Line 199, position 7. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 199)
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)
System.Xml.XmlException
The 'system.data' start tag on line 182 position 4 does not match the end tag of 'DbProviderFactories'. Line 199, position 7.
Stack Trace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
at System.Xml.XmlTextReaderImpl.ParseEndElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlTextReaderImpl.Skip()
at System.Xml.XmlTextReader.Skip()
at System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
at System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()