Error 6 when doing a text search
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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
------------------------------------------------------------------
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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"
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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:
To see the attached files, you need to log into the forum.
FAQ | XY News RSS | XY X
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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,-102FAQ | XY News RSS | XY X
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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.
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Re: Error 6 when doing a text search
Also, here is the "properties" info for xpsrchvw.exe
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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.
To see the attached files, you need to log into the forum.
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
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.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Re: Error 6 when doing a text search
When running the script with the Beta version 19.50.0105 I get the Error 6.
To see the attached files, you need to log into the forum.
XYplorer Beta Club