• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Cannot open PatchMyPC - error message from Microsoft .NET framework

Started by PatchFan1248, March 02, 2021, 02:42:51 PM

Previous topic - Next topic

PatchFan1248

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.

unpatchable

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.

dethboy


coover

Same issue here ... with all 6 of my PCs. Apparently an MS .NET error. I hope somebody is able to fix this quickly.

pmokover

Same issue here on all of my PCs (Win10 Pro, 20H2, 19042.844).  Started this afternoon (3/2/2021).

coover

Apparently fixed by either Patch My PC as I've had no updates to Windows 10. I no longer have this issue.

PatchFan1248



unpatchable

Yep, all good here.  Must have been something on the backend.

boogiepop

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.



unpatchable

Crap - you're right.  It's now broken once again.  Hopefully they can figure out the cause.

PatchFan1248

Yes, broken again. ;-(
That's strange.
But something fixed once may be fixed again ;-)


RMTHS

Have sae problem
just started suddenly tonight
see attached screen shot
App is currently useless

badeekia26