Author Topic: Error 4000  (Read 56646 times)

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #25 on: September 21, 2013, 18:48:09 »
From the log I can see that first call to windows to write the data fails. So windows allows the file to be open for writing but when it starts to write data to the file it does not like it.  Something is stopping it from writing the data. This is not normal.  The internal error code is not shown in the log. And it is not one of the standard errors.
I will add the internal windows error code to the log in the next beta.
But if you are handy you can see it using Process Monitor, But that tool is not easy to use.

But why Windows does not allow the file data to be written is strange.
The question remains.. what is unique on the few systems that have this issue ?

78-45-33

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #26 on: September 21, 2013, 20:09:20 »
ProcMon is part of Sysinternals Suite, I already got it.

First I'm not a programmer at all; but only strange things I see in ProcMon log is buffer overflow and
invalid device request.

I saved the ProcMon log, could You take a look into it?  I'll upload it to yr website.
No hurry ofcourse as I can sent files other ways to the ext.HDD.

T.i.a.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #27 on: September 21, 2013, 21:46:52 »
buffer overflow you see there are normal. it is not the bad kind. :)
But If you saved the log you can upload it and I can take a look.

78-45-33

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #28 on: September 21, 2013, 22:30:42 »
PML log uploaded

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #29 on: September 22, 2013, 14:39:28 »
PML log uploaded
Did not see anything it it.. To much noise.

But there is a new Beta out (build 1516) It will output the internal window error code when it fails to write data.

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #30 on: September 27, 2013, 12:25:21 »
I'm moving a large amount of files and data between my desktop's internal disk and my usb portable drive and I'm also getting error 4000. After aborting the error window I can resume moving the files without errors but after some time I get the same error. I'm on version 3.5 (1500) 64 bits windows 7.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #31 on: September 27, 2013, 12:40:08 »
I'm moving a large amount of files and data between my desktop's internal disk and my usb portable drive and I'm also getting error 4000. After aborting the error window I can resume moving the files without errors but after some time I get the same error. I'm on version 3.5 (1500) 64 bits windows 7.

As said above. build 1516+ also shows the internal error code. And that might give you an idea on why it is happening.

Also Error 4000 mean that an unhanded error happen.. so the reason for getting 4000 does not have to be the same for everyone.

« Last Edit: September 27, 2013, 12:49:17 by Mathias (Author) »

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #32 on: September 27, 2013, 13:18:15 »
From version 1500 i can still see on the log file:

Code: [Select]
2013-09-27 11:10:23.699 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt"
2013-09-27 11:10:23.703 Prepare Copy - Asyncrone mode enabled.
2013-09-27 11:10:23.719 [7612] Wait for WriteThread to finish and pause.
2013-09-27 11:10:23.719 [7612] WriteThread is now paused.
2013-09-27 11:10:23.719 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt" - 512 bytes in 15ms - Average Speed : 34133 bytes/sec (33,3 KB/sec)
2013-09-27 11:10:23.719 Local file was written to using NoSystemCache - Fixing Filesize : "\\?\S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt"
2013-09-27 11:10:23.723 Current file size : "512", Bytes past EOF : 487
2013-09-27 11:10:23.726 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:10:23.726 Failed to remove attribute - Unknown error
2013-09-27 11:10:23.726 File Operations error : 4000
2013-09-27 11:10:23.728 Show Error Dialog from own thread
2013-09-27 11:10:28.787 Error Dialog Result : 0x1 , StepFlags : 0x800001
2013-09-27 11:10:28.788 Abort file operations request.
2013-09-27 11:10:28.788 Abort file operations request.

Failed to remove attribute - Unknown error. When retrying it asks me to replace the file and it continues.
I'll try with the beta version.

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #33 on: September 27, 2013, 13:26:16 »
On version 3.5.1 (1519) 64 bits, got the same:
Code: [Select]
2013-09-27 11:21:21.682 Source and target of MOVE operation is on DIFFERENT disks/volumes. So do a Copy and then Delete.
2013-09-27 11:21:21.682 CMoveOperation::DeleteProcessedFolders
2013-09-27 11:21:21.682 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt"
2013-09-27 11:21:21.685 Prepare Copy - Asynchronous mode enabled.
2013-09-27 11:21:21.701 [2884] Wait for WriteThread to finish and pause.
2013-09-27 11:21:21.701 [2884] WriteThread is now paused.
2013-09-27 11:21:21.701 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt" - 512 bytes in 16ms - Average Speed : 32000 bytes/sec (31,3 KB/sec) Read data time 1ms (500,0 KB/sec),  Write data time 1ms (500,0 KB/sec)
2013-09-27 11:21:21.701 Local file was written to using NoSystemCache - Fixing Filesize : "\\?\S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt"
2013-09-27 11:21:21.704 Current file size : "512", Bytes past EOF : 487
2013-09-27 11:21:21.719 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:21:21.719 Failed to remove attribute - Unknown error
2013-09-27 11:21:21.719 File Operations error : 4000
2013-09-27 11:21:21.721 Show Error Dialog from own thread
2013-09-27 11:21:27.320 Error Dialog Result : 0x1 , StepFlags : 0x800001
2013-09-27 11:21:27.320 Abort file operations request.
2013-09-27 11:21:27.320 Abort file operations request.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #34 on: September 27, 2013, 13:37:53 »
From version 1500 i can still see on the log file:

Code: [Select]
2013-09-27 11:10:23.726 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:10:23.726 Failed to remove attribute - Unknown error

Failed to remove attribute - Unknown error. When retrying it asks me to replace the file and it continues.
I'll try with the beta version.

Yes Tries to remove file attributes fails. so not the same error as the other user.
The target is a network device ? NAS ? Linux ? Windows ? Mac ?

It does a MOVE. And after the file is copied it tries to remove Hidden/System attribute from source file so that it can be deleted. Maybe there are file permissions or something that prevent file attributes from being changed.

« Last Edit: September 27, 2013, 13:48:21 by Mathias (Author) »

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #35 on: September 27, 2013, 14:33:49 »
I'm on windows 7 professional 64 bits.
The source is an windows dynamic volume made of 2 internal hard disks of 2TB.
The target is a portable drive, usb 3.0, 2TB, 2,5". After retrying the error appears on another file.

My target directory has a bigger name than my source directory and I'm also having trouble with some files that MC doesn't copy and show no error message and if I try with windows explorer it says that the destination path is too big. But if I rename the source file name and add one character it moves the file with no error on MC.

Code: [Select]
2013-09-27 12:09:17.708 Start FileOperation (Copy/Move/Delete) Settings
2013-09-27 12:09:17.708 '-- Chunk size  : 262144
2013-09-27 12:09:17.708 '-- Buffer size : 262144
2013-09-27 12:09:17.708 '-- Read Flags  : 0x0
2013-09-27 12:09:17.708 '-- Write Flags : 0x0
2013-09-27 12:09:17.708 '-- Flags       : 0xe00202
2013-09-27 12:09:17.766 Allocating Buffers (Chunks = 1 , Chunks size = 262144 Bytes , Buffer size = 262144 Bytes)
2013-09-27 12:09:17.766 Source file does not exists. Skipping : D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points.pdf
2013-09-27 12:09:17.766 Skip request of file operations found.
2013-09-27 12:09:23.123 Renamed file : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points.pdf" -> "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf"
2013-09-27 12:09:24.520 FileOperationDlg - AutoDetect RW Stratergy - "Normal, Same disk"
2013-09-27 12:09:25.549 Start FileOperation (Copy/Move/Delete) Settings
2013-09-27 12:09:25.549 '-- Chunk size  : 262144
2013-09-27 12:09:25.549 '-- Buffer size : 262144
2013-09-27 12:09:25.549 '-- Read Flags  : 0x0
2013-09-27 12:09:25.549 '-- Write Flags : 0x0
2013-09-27 12:09:25.549 '-- Flags       : 0xe00202
2013-09-27 12:09:25.603 Allocating Buffers (Chunks = 1 , Chunks size = 262144 Bytes , Buffer size = 262144 Bytes)
2013-09-27 12:09:25.603 Source and target of MOVE operation is on DIFFERENT disks/volumes. So do a Copy and then Delete.
2013-09-27 12:09:25.603 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf"
2013-09-27 12:09:26.074 Copy file using synchronous copy mode.
2013-09-27 12:09:26.076 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf" - 206923 bytes in 1ms - Average Speed : 206923000 bytes/sec (197,3 MB/sec) Read data time 1ms (197,3 MB/sec),  Write data time 1ms (197,3 MB/sec)

Only one time I saw a popup from MC that said the file name would be too big and I've chosen the last option (large path).

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #36 on: September 27, 2013, 17:59:51 »
I tried the following to understand the problem:

Code: [Select]
D:\>mkdir aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
then created a file aaaaaaa.txt on that directory. These seem to be the max length for both types on command prompt.

If I try to rename aaaaaaa.txt to  aaaaaaab.txt on command prompt it gives an error. If I try on Windows Explorer it doesn't even allow me to enter more characters. On MC I can rename to a larger name and the name is visible on Windows Explorer and Command Prompt but I cannot rename it anymore unless I use MC.

If I delete to the recycle bin it gives error 4000 and if I try do delete without the recycle bin MC deletes it. However if I assign the hidden attribute and try do delete it I get again error 4000.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: Error 4000
« Reply #37 on: September 27, 2013, 18:39:00 »
I tried the following to understand the problem:

then created a file aaaaaaa.txt on that directory. These seem to be the max length for both types on command prompt.

If I try to rename aaaaaaa.txt to  aaaaaaab.txt on command prompt it gives an error. If I try on Windows Explorer it doesn't even allow me to enter more characters. On MC I can rename to a larger name and the name is visible on Windows Explorer and Command Prompt but I cannot rename it anymore unless I use MC.

If I delete to the recycle bin it gives error 4000 and if I try do delete without the recycle bin MC deletes it. However if I assign the hidden attribute and try do delete it I get again error 4000.


Deleting extra long path to recycle bin will never work. Windows recycle bin stuff does not support that.

nxtzero

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Error 4000
« Reply #38 on: September 27, 2013, 19:14:58 »
I agree, however there should be a message instead of error 4000.  ::)