Cannot open PatchMyPc - an error message from Microsoft .NET framework comes - I can choose to continue or stop - if I continue some of the GUI is shown but it cannot complete its functions
I've recently updated Windows 10 Home 2004, where there was a .NET update so I suspect that is the cause.
Have you experienced anything like it?
PS The main error message is "The root element is missing" (translated from my language).
There is a long list of details - I've run it through Google translate from my language - here it is:
See the end of this message for details on
how to start JIT debugging instead of this dialog box.
************** Exception text **************
System.Xml.XmlException: The root element is missing.
at System.Xml.XmlTextReaderImpl.Throw (Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent ()
by PatchMyPC.DefinitionReader.Read (String filePath, PMPC parentForm, String selectedLanguage, Boolean is64Bit)
by PatchMyPC.PMPC.patch_Load (Object sender, EventArgs e)
at System.EventHandler.Invoke (Object sender, EventArgs e)
at System.Windows.Forms.Form.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.Form.WmShowWindow (Message & m)
by System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded assemblies **************
mscorlib
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PatchMyPC
Assembly version: 4.2.0.1
Win32 Version: 4.2.0.1
CodeBase: file: /// C: /Users/jorge/Downloads/PatchMyPC.exe
----------------------------------------
Microsoft.VisualBasic
Assembly version: 10.0.0.0
Win32 version: 14.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly version: 4.0.0.0
Win32 version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly version: 4.0.0.0
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Management
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
mscorlib.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_en_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.xml.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_en_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
System.Windows.Forms.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_da_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************* JIT Troubleshooting **************
To enable JIT debugging, set the value jitDebugging
in the system.windows.forms section of the configuration file
for the program or computer.
The program must also be compiled with troubleshooting
activated.
Example:
<configuration>
<system.windows.forms jitDebugging = "true" />
</configuration>
When JIT troubleshooting is enabled, all will be unresolved
exceptions sent to the JIT debugging program registered on the computer instead
to be settled by this dialog box.
I've recently updated Windows 10 Home 2004, where there was a .NET update so I suspect that is the cause.
Have you experienced anything like it?
PS The main error message is "The root element is missing" (translated from my language).
There is a long list of details - I've run it through Google translate from my language - here it is:
See the end of this message for details on
how to start JIT debugging instead of this dialog box.
************** Exception text **************
System.Xml.XmlException: The root element is missing.
at System.Xml.XmlTextReaderImpl.Throw (Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent ()
by PatchMyPC.DefinitionReader.Read (String filePath, PMPC parentForm, String selectedLanguage, Boolean is64Bit)
by PatchMyPC.PMPC.patch_Load (Object sender, EventArgs e)
at System.EventHandler.Invoke (Object sender, EventArgs e)
at System.Windows.Forms.Form.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.Form.WmShowWindow (Message & m)
by System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded assemblies **************
mscorlib
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PatchMyPC
Assembly version: 4.2.0.1
Win32 Version: 4.2.0.1
CodeBase: file: /// C: /Users/jorge/Downloads/PatchMyPC.exe
----------------------------------------
Microsoft.VisualBasic
Assembly version: 10.0.0.0
Win32 version: 14.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly version: 4.0.0.0
Win32 version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly version: 4.0.0.0
Win32 version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly version: 4.0.0.0
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Management
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
mscorlib.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_en_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.xml.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_en_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
System.Windows.Forms.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_da_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************* JIT Troubleshooting **************
To enable JIT debugging, set the value jitDebugging
in the system.windows.forms section of the configuration file
for the program or computer.
The program must also be compiled with troubleshooting
activated.
Example:
<configuration>
<system.windows.forms jitDebugging = "true" />
</configuration>
When JIT troubleshooting is enabled, all will be unresolved
exceptions sent to the JIT debugging program registered on the computer instead
to be settled by this dialog box.