Page 1 of 1

Microsoft .NET Framework Error

Posted: 21 Oct 2021 04:33
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?

Re: Microsoft .NET Framework Error

Posted: 21 Oct 2021 10:58
by admin
Are you using a User-Defined Preview Handler for PDF previews? See Configuration | Preview | Previewed Formats | Categories | User-Defined Preview Handlers...

Re: Microsoft .NET Framework Error

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

Re: Microsoft .NET Framework Error

Posted: 21 Oct 2021 17:48
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.

Re: Microsoft .NET Framework Error

Posted: 21 Oct 2021 18:47
by Sammey
I thought I might add.


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

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 11:44
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?

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 17:12
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

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 18:08
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

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 18:28
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.

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 18:37
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.

Re: Microsoft .NET Framework Error

Posted: 22 Oct 2021 22:24
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.

Re: Microsoft .NET Framework Error

Posted: 23 Oct 2021 10:02
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:

Re: Microsoft .NET Framework Error

Posted: 25 Oct 2021 11:00
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.