I am working on Visual Studio 2017 a VB.NET project with MetroFramework Modern UI Version 1.4.0 and I have this issue. If I add a MetroToggle into a form and start the project I get this error:
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.The error is: Configuration system failed to initialize System.InvalidOperationException HResult=0x80131509 Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Configuration system failed to initialize Source=Application Name StackTrace: at Application_Name.My.MyProject.MyForms.Create__Instance__[T](T Instance) in :line 190 at Application_Name.My.MyProject.MyForms.get_MultiLoadSet_Form() at Application_Name.Main_Form.MultiLoad_Edit_MetroTile_Click(Object sender, EventArgs e) in X:\PROGRAMMING\VISUAL STUDIO PROJECTS\2018...\Main.vb:line 64 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at MetroFramework.Controls.MetroTile.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at Application_Name.My.MyApplication.Main(String[] Args) in :line 81 Inner Exception 1: ConfigurationErrorsException: Configuration system failed to initialize Inner Exception 2: ConfigurationErrorsException: Unrecognized configuration section userSettings.
Any idea what is wrong here?
User contributions licensed under CC BY-SA 3.0