Error 6 when doing a text search
Error 6 when doing a text search
XYplorer fails when doing a text search against a directory which
contains 1115 subdirectories and 9417 files.
Here is the error information:
------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-28 10:41:24
------------------------------------------------------------------
contains 1115 subdirectories and 9417 files.
Here is the error information:
------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-28 10:41:24
------------------------------------------------------------------
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
Can you somehow isolate the problem? Could it be connected to that particular file (C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps)?
FAQ | XY News RSS | XY Twitter
Re: Error 6 when doing a text search
It does seem that the error occurs on a particular file.
There is only this one XPS file in the directory C:\Distlibs\Microsoft\WXPSP3\Misc
I can give you a copy of this file if you would like it.
-------------------------------------------------------------------
[C:\windows\system32]: dir C:\Distlibs\Microsoft\WXPSP3\Misc\*.xps /s
Volume in drive C is W764UIPL
Volume Serial Number is 6A9B-5F4B
Directory of C:\Distlibs\Microsoft\WXPSP3\Misc
2008-01-05 08:57 AM 451,107 Overview of Windows XP Service Pack 3.xps
1 File(s) 451,107 bytes
Total Files Listed:
1 File(s) 451,107 bytes
0 Dir(s) 407,045,521,408 bytes free
-------------------------------------------------------------------
When running the text search as shown in the attached RRBitwise.jpg
the Error 6 occurs immediately (shown below).
-------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-31 15:16:22
There is only this one XPS file in the directory C:\Distlibs\Microsoft\WXPSP3\Misc
I can give you a copy of this file if you would like it.
-------------------------------------------------------------------
[C:\windows\system32]: dir C:\Distlibs\Microsoft\WXPSP3\Misc\*.xps /s
Volume in drive C is W764UIPL
Volume Serial Number is 6A9B-5F4B
Directory of C:\Distlibs\Microsoft\WXPSP3\Misc
2008-01-05 08:57 AM 451,107 Overview of Windows XP Service Pack 3.xps
1 File(s) 451,107 bytes
Total Files Listed:
1 File(s) 451,107 bytes
0 Dir(s) 407,045,521,408 bytes free
-------------------------------------------------------------------
When running the text search as shown in the attached RRBitwise.jpg
the Error 6 occurs immediately (shown below).
-------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-31 15:16:22
- Attachments
-
- RRBitwise_Error_6.jpg (352.64 KiB) Viewed 3283 times
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
I've attached WXPSP3_XPS.zip which is the zipped up version of "Overview of Windows XP Service Pack 3.xps"
- Attachments
-
- WXPSP3_XPS.zip
- (419.72 KiB) Downloaded 87 times
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
Which content (string) did you look for?
I probably need the whole settings on your Find Files / Contents tab to reproduce the error. A screenshot would be enough for me:
I probably need the whole settings on your Find Files / Contents tab to reproduce the error. A screenshot would be enough for me:
- Attachments
-
- 2019-01-04_103854.png (4.94 KiB) Viewed 3220 times
FAQ | XY News RSS | XY Twitter
Re: Error 6 when doing a text search
I supplied those screen shots in the attachments to my post on 31 Dec 2018.
For what it's worth, it doesn't matter what text I use as the search argument; any text string results in the failure.
For what it's worth, it doesn't matter what text I use as the search argument; any text string results in the failure.
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
Oh yes, sorry.
Well, I cannot repro the error here. So I assume it must be related to your XPS previewhandler.
When you run this through the address bar, what is returned?
For me it's this:
Well, I cannot repro the error here. So I assume it must be related to your XPS previewhandler.
When you run this through the address bar, what is returned?
Code: Select all
text get("previewhandler", "xps");
Code: Select all
GUID: {85862EDA-F507-4d5b-ACA9-BB2C34A85682}
DefaultName: Microsoft XPS Rich Preview Handler
DisplayName: @%SystemRoot%\system32\xpsrchvw.exe,-102
FAQ | XY News RSS | XY Twitter
Re: Error 6 when doing a text search
Here is what I get (it looks just like what you get):
GUID: {85862EDA-F507-4d5b-ACA9-BB2C34A85682}
DefaultName: Microsoft XPS Rich Preview Handler
DisplayName: @%SystemRoot%\system32\xpsrchvw.exe,-102
Perhaps you need to have more files in the directory where the .XPS file resides to trigger the failure. I can zip up the entire subdirectory from my system if you think that will help.
GUID: {85862EDA-F507-4d5b-ACA9-BB2C34A85682}
DefaultName: Microsoft XPS Rich Preview Handler
DisplayName: @%SystemRoot%\system32\xpsrchvw.exe,-102
Perhaps you need to have more files in the directory where the .XPS file resides to trigger the failure. I can zip up the entire subdirectory from my system if you think that will help.
Re: Error 6 when doing a text search
Also, here is the "properties" info for xpsrchvw.exe
- Attachments
-
- Properties_xpsrchvw_exe.jpg (58.52 KiB) Viewed 3184 times
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
You don't get the error when that file is the only file in the folder?
FAQ | XY News RSS | XY Twitter
Re: Error 6 when doing a text search
I just created a new directory named XYU and copied "Overview of Windows XP Service Pack 3.xps" to that new directory. There is only this single file in that directory. I then ran the text search against the XYU directory and I immediately got the Error 6.
I am curious what the XPS preview handler has to do with this?
I also just tried completely deleting my XYplorer directory and and of its subdirectories, then installed version 19.50.0000 from scratch. I made no XYplorer configuration changes whatsoever and retried the test. The error still occurs (see the attached 20190105_Error_6.jpg)
Are there any types of debugging things I can turn on to get you better information? I do have Microsoft Visual Studio 2017 installed, so perhaps I could do something with the debugger?
I'm open to suggestions.
I am curious what the XPS preview handler has to do with this?
I also just tried completely deleting my XYplorer directory and and of its subdirectories, then installed version 19.50.0000 from scratch. I made no XYplorer configuration changes whatsoever and retried the test. The error still occurs (see the attached 20190105_Error_6.jpg)
Are there any types of debugging things I can turn on to get you better information? I do have Microsoft Visual Studio 2017 installed, so perhaps I could do something with the debugger?
I'm open to suggestions.
- Attachments
-
- 20190105_Error_6.jpg (46.22 KiB) Viewed 3148 times
Re: Error 6 when doing a text search
Here is some more (hopefully useful) information.
Disabling the XPS viewer results in the Error 6 no longer occurring.
To disable the XPS viewer:
- Open the Control Panel and then select "Programs and Features".
- In the resulting display, click on "Turn Windows features on or off" near the upper left hand corner.
This causes a small dialog box to appear which is titled "Windows Features".
- Scroll down to the "XPS Viewer" entry and uncheck the selection box.
- Re-boot.
I re-enabled the XPS Viewer and re-ran the test (just for a consistency/sanity check), and the Error 6 returned.
Disabling the XPS viewer results in the Error 6 no longer occurring.
To disable the XPS viewer:
- Open the Control Panel and then select "Programs and Features".
- In the resulting display, click on "Turn Windows features on or off" near the upper left hand corner.
This causes a small dialog box to appear which is titled "Windows Features".
- Scroll down to the "XPS Viewer" entry and uncheck the selection box.
- Re-boot.
I re-enabled the XPS Viewer and re-ran the test (just for a consistency/sanity check), and the Error 6 returned.
-
- Site Admin
- Posts: 60563
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error 6 when doing a text search
When you take the latest beta (v19.50.0105), then select that file in the file list and run this script through the Address Bar:
Does it work or do you get an error?
Code: Select all
text extracttext();
FAQ | XY News RSS | XY Twitter
Re: Error 6 when doing a text search
When running the script with the Beta version 19.50.0105 I get the Error 6.
- Attachments
-
- Error_6_with_Beta_V19_50_0105.jpg (188.02 KiB) Viewed 3110 times