Support Forum: Get Support for Patch My PC Products and Services

Home Updater (Free Updater) => Report Bugs and Issues (Free Home Updater) => Topic started by: PatchFan1248 on March 02, 2021, 02:42:51 PM

Title: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: PatchFan1248 on March 02, 2021, 02:42:51 PM
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.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: unpatchable on March 02, 2021, 02:51:31 PM
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.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: dethboy on March 02, 2021, 03:03:32 PM
I am having the same issue on both PCs I handle.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: coover on March 02, 2021, 03:04:04 PM
Same issue here ... with all 6 of my PCs. Apparently an MS .NET error. I hope somebody is able to fix this quickly.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: pmokover on March 02, 2021, 03:09:44 PM
Same issue here on all of my PCs (Win10 Pro, 20H2, 19042.844).  Started this afternoon (3/2/2021).
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: coover on March 02, 2021, 07:38:03 PM
Apparently fixed by either Patch My PC as I've had no updates to Windows 10. I no longer have this issue.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: PatchFan1248 on March 02, 2021, 07:49:22 PM
Fixed here also (Windows 10 Home, v. 2004).
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: pmokover on March 02, 2021, 08:26:59 PM
Appears to be fixed here too.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: unpatchable on March 03, 2021, 03:49:26 AM
Yep, all good here.  Must have been something on the backend.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: boogiepop on March 03, 2021, 04:53:59 AM
Still getting this error. I've even attempted to update .NET to no avail.

Code: [Select]
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.


Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: unpatchable on March 03, 2021, 04:58:35 AM
Crap - you're right.  It's now broken once again.  Hopefully they can figure out the cause.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: PatchFan1248 on March 03, 2021, 05:31:09 AM
Yes, broken again. ;-(
That's strange.
But something fixed once may be fixed again ;-)
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: jackkerouac on March 03, 2021, 06:17:55 AM
Same issue, same error. Bummer.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: RMTHS on March 03, 2021, 06:25:44 AM
Have sae problem
just started suddenly tonight
see attached screen shot
App is currently useless
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: badeekia26 on March 03, 2021, 06:54:32 AM
Yes, same with me. I just noticed it this morning.
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: splat_319 on March 03, 2021, 06:57:37 AM
Same issue encountered on my machines. Starting this AM (3/3/2021).
Title: Re: PatchMyPC - Fehlermeldung von Microsoft .NET framework kann nicht ge├Âffnet werden
Post by: FranzL on March 03, 2021, 07:57:36 AM
Kann in keinem Beitrag die L├Âsung des Problems erkennen. Wo bleibt die L├Âsung von Patch my PC Hersteller?
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: rarnold on March 03, 2021, 08:00:08 AM
They are probably still partying and have not yet noticed that the XML definition file is corrupt or not available. :) 8)
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: boogiepop on March 03, 2021, 08:16:32 AM
It works now as of 03/03/2021 16:15:31 CET
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: PatchFan1248 on March 03, 2021, 08:27:28 AM
Yes, indeed. Let's hope it lasts this time ;-)
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: Justin Chalfant on March 03, 2021, 10:56:06 AM
Our hosting provider had a few issues yesterday that would have caused this intermittently
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: RMTHS on March 03, 2021, 05:30:46 PM
Yes, indeed. Let's hope it lasts this time ;-)
Title: Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
Post by: RMTHS on March 03, 2021, 05:34:06 PM
Working OK now