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'm seeing the same bug on multiple PCs here as well, all on Windows 10 Pro 20H2 with all current updates. Redownloaded the .exe to see if it was the issue, and it happens from it as well. It appears to have been a .NET update that has broken the program functionality.
I am having the same issue on both PCs I handle.
Same issue here ... with all 6 of my PCs. Apparently an MS .NET error. I hope somebody is able to fix this quickly.
Same issue here on all of my PCs (Win10 Pro, 20H2, 19042.844). Started this afternoon (3/2/2021).
Apparently fixed by either Patch My PC as I've had no updates to Windows 10. I no longer have this issue.
Fixed here also (Windows 10 Home, v. 2004).
Appears to be fixed here too.
Yep, all good here. Must have been something on the backend.
Still getting this error. I've even attempted to update .NET to no avail.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at PatchMyPC.DefinitionReader.Read(String filePath, PMPC parentForm, String selectedLanguage, Boolean is64Bit)
at 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)
at 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:/Setup/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
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Crap - you're right. It's now broken once again. Hopefully they can figure out the cause.
Yes, broken again. ;-(
That's strange.
But something fixed once may be fixed again ;-)
Same issue, same error. Bummer.
Have sae problem
just started suddenly tonight
see attached screen shot
App is currently useless
Yes, same with me. I just noticed it this morning.
Same issue encountered on my machines. Starting this AM (3/3/2021).
Kann in keinem Beitrag die L├Âsung des Problems erkennen. Wo bleibt die L├Âsung von Patch my PC Hersteller?
They are probably still partying and have not yet noticed that the XML definition file is corrupt or not available. :) 8)
It works now as of 03/03/2021 16:15:31 CET
Yes, indeed. Let's hope it lasts this time ;-)
Our hosting provider had a few issues yesterday that would have caused this intermittently
Working OK now