Author Topic: Cannot open PatchMyPC - error message from Microsoft .NET framework  (Read 4561 times)

Offline PatchFan1248

  • Newbie
  • *
  • Posts: 18
    • View Profile
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.
« Last Edit: March 02, 2021, 02:59:42 PM by PatchFan1248 »

Offline unpatchable

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #1 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.

Offline dethboy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #2 on: March 02, 2021, 03:03:32 PM »
I am having the same issue on both PCs I handle.

Offline coover

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #3 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.

Offline pmokover

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #4 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).
« Last Edit: March 02, 2021, 04:24:15 PM by pmokover »

Offline coover

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #5 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.

Offline PatchFan1248

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #6 on: March 02, 2021, 07:49:22 PM »
Fixed here also (Windows 10 Home, v. 2004).

Offline pmokover

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #7 on: March 02, 2021, 08:26:59 PM »
Appears to be fixed here too.

Offline unpatchable

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #8 on: March 03, 2021, 03:49:26 AM »
Yep, all good here.  Must have been something on the backend.

Offline boogiepop

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #9 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.



Offline unpatchable

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #10 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.

Offline PatchFan1248

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #11 on: March 03, 2021, 05:31:09 AM »
Yes, broken again. ;-(
That's strange.
But something fixed once may be fixed again ;-)

Offline jackkerouac

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #12 on: March 03, 2021, 06:17:55 AM »
Same issue, same error. Bummer.

Offline RMTHS

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #13 on: March 03, 2021, 06:25:44 AM »
Have sae problem
just started suddenly tonight
see attached screen shot
App is currently useless

Offline badeekia26

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Cannot open PatchMyPC - error message from Microsoft .NET framework
« Reply #14 on: March 03, 2021, 06:54:32 AM »
Yes, same with me. I just noticed it this morning.