Microsoft .NET Framework Error

Things you’d like to miss in the future...
Post Reply
Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Microsoft .NET Framework Error

Post by Sammey »

This is the version of Xyplorer I'm using...

Image

Every time I try to highlight more than one PDF document at a time, to open it, I get this error:

Image

Image

After this error I cannot delete any files from a folder and Xyplorer just acts weird.

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Unrecognized Guid format.
   at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
   at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
   at System.Guid..ctor(String g)
   at PreviewHandlers.PreviewHandlerHost.GetPreviewHandlerGUID(String filename)
   at PreviewHandlers.PreviewHandlerHost.Open(String filename, IntPtr handlePassed, Int32 colBack, Int32 colText, String guidUser)
   at Preview64.Form1.handlePreview(String[] arguments)
   at Preview64.Form1.Form1_Load(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 Preview64.Form1.WndProc(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.4420.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
    Assembly Version: 1.0.7611.17313
    Win32 Version: 1.0.0.23
    CodeBase: file:///J:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4400.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
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4360.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.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    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.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.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.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
----------------------------------------

************** 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.



Any advice on how to fix this?

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

Are you using a User-Defined Preview Handler for PDF previews? See Configuration | Preview | Previewed Formats | Categories | User-Defined Preview Handlers...

Horst
Posts: 481
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Microsoft .NET Framework Error

Post by Horst »

Can you do the same action in Windows Explorer without errors ?
Windows 11 Home x64 Version 21H2 (OS Build 22000.318)
Portable XYplorer v22.50.0211
Everything 1.5.0.1286a (x64)

Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Re: Microsoft .NET Framework Error

Post by Sammey »

admin wrote: 21 Oct 2021 10:58 Are you using a User-Defined Preview Handler for PDF previews? See Configuration | Preview | Previewed Formats | Categories | User-Defined Preview Handlers...
These are my settings for that. I am using Nitro PDF for a PDF viewer.

Image

Horst wrote: 21 Oct 2021 11:55 Can you do the same action in Windows Explorer without errors ?

Yes I can.

Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Re: Microsoft .NET Framework Error

Post by Sammey »

I thought I might add.


After this error occurs I cannot drag and drop to copy/paste.

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

Please run this script line thru the XY address bar:

Code: Select all

text get("previewhandler", "pdf") . <crlf> . "Assoc: " . get("assoc", "pdf");
What is returned?

Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Re: Microsoft .NET Framework Error

Post by Sammey »

admin wrote: 22 Oct 2021 11:44 Please run this script line thru the XY address bar:

Code: Select all

text get("previewhandler", "pdf") . <crlf> . "Assoc: " . get("assoc", "pdf");
What is returned?
This is returned.

Code: Select all

GUID: {7347baa5-ddad-428a-bbed-3a95b53237f7}
DefaultName: Nitro PDF Preview Handler
DisplayName: Nitro PDF Preview Handler
Assoc: C:\PROGRA~1\Nitro\Pro\13\NitroPDF.exe

Image

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

Weird. Cannot explain.

What happens if you untick both:
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness

Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Re: Microsoft .NET Framework Error

Post by Sammey »

admin wrote: 22 Oct 2021 18:08 Weird. Cannot explain.

What happens if you untick both:
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness
That seemed to work.

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

You can probably tick this now:
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness

Guessing that Nitro is 32-bit.

Sammey
Posts: 9
Joined: 01 Dec 2020 00:02

Re: Microsoft .NET Framework Error

Post by Sammey »

admin wrote: 22 Oct 2021 18:37 You can probably tick this now:
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness

Guessing that Nitro is 32-bit.
Yes, it's Nitro 32-bit. Should I use Nitro 64-bit? I'm running Windows 10 x64.

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

No, that's not necessary.

That error message just should not be there. I will install Nitro later and try to find out what's going on. :twisted:

admin
Site Admin
Posts: 52815
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Microsoft .NET Framework Error

Post by admin »

Cannot find a download link for Nitro that does not force me to give my email. Sorry, I don't that kind of business. :\

I recommend PDF-XChange instead.

Post Reply