Author |
Message |
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Wed Sep 08, 2010 9:32 pm Post subject: Profiles OK in VV, fails in VVEngine |
|
|
Since switching over from XP to Windows 7, I have a profile or two that run fine without errors from ViceVersa, but generate errors when run from VVEngine. The errors is: "Execution completed with file copy/delete errors", and the specific error in the log is always "The size, attributes or timestamp of <file> have changed after comparison. For data security reasons this file will be skipped. Press 'Refresh' to recompare Source and Target."
Why this affects some profiles & not others, I haven't found the reason. All my profile settings as far as advance options are identical with the exception of source & target paths. Target drive is identical in all profiles. And why it all worked fine in XP but now not in Win7, I don't know either. And before you ask, the option "Copy even if timestamps change after comparison" is checked in all profiles (though I've seldom known this opton do any good at preventing this kind of problem). I've also tried various combinations of checked & unchecked marks under "Copy permissions, attributes, & streams."
Also, I've enabled a rerun of the profile when errors occured in VVEngine, but that doesn't help either (just generates the same error again). |
|
Back to top |
|
|
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Wed Sep 08, 2010 11:54 pm Post subject: |
|
|
Just to further elaborate, (for example), when I rename a file in the source from filename.jpg to filename.jpeg, the profile runs without error in VVEngine. Wait a bit and rename it back, and the VVEngine profile generates the above error.
So the first time around, it has no trouble deleting filename.jpg from target and copying filename.jpeg to target. But going the other way around, deleting filename.jpeg generates the error.
And it has nothing to do with the number of chars in a file extension. The same operation with filename.txt to filename.text and back works perfectly!
By the way, the file(s) delete fine via window explorer & fine via ViceVersa (not engine). |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Thu Sep 09, 2010 2:44 am Post subject: |
|
|
Thank you, I'll try to reproduce this problem, can you please post the content of the profile file .fsf that gives this error (copy and paste).
What type of drive is the target drive?
Quote: | The size, attributes or timestamp of <file> have changed after comparison. For data security reasons this file will be skipped. Press 'Refresh' to recompare Source and Target
|
<file> is the source file that must be copied or the target file that must be deleted?
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Thu Sep 09, 2010 4:22 am Post subject: |
|
|
I should note at this point that I've worked around the problem by turning off archiving. But I'd really rather not do that, but for now it keeps things from turning into a mess. However, the pasted profile below is as it was with archiving turned ON.
TGRMN Software wrote: | Thank you, I'll try to reproduce this problem, can you please post the content of the profile file .fsf that gives this error (copy and paste). |
[Settings]
; ******* Source
Source Folder=C:\Users\Bruce Lawson\Pictures\
; ******* Target
Target Folder=\\BRUCE_LAWSON-PC\MiSafe\My Documents\My Pictures\
; ******* values for Lock Source: (0=No) (1=Yes)
Lock Source=0
; ******* values for Lock Target: (0=No) (1=Yes)
Lock Target=0
; ******* values for Continue even if sources/targets do not exist: (0=No) (1=Yes)
Continue even if sources/targets do not exist=0
; ******* values for Create sources/targets that do not exist: (0=No) (1=Yes)
Create sources/targets that do not exist=1
Connect to network with default user credentials=0
Connect to network with credentials=0
; *******
Connect network path=
; *******
Connect user=
; *******
Connect password=010101
Disconnect from network when done=0
; *******
Include Subfolders Flags=1
; ******* values for Comparison Type: (0=Size and Timestamp) (1=CRC) (2=Both)
Comparison Type=0
; ******* values for Ignore 2 seconds difference: (0=No) (1=Yes)
Ignore 2 seconds difference=0
; ******* values for Ignore any second difference: (0=No) (1=Yes)
Ignore any second difference=0
; ******* values for Ignore 1 hour difference: (0=No) (1=Yes)
Ignore 1 hour difference=0
CRC Chunk Size in Bytes=0
; ******* values for Ignore File Size: (0=No) (1=Yes)
Ignore File Size=0
; ******* values for Ignore Timestamp: (0=No) (1=Yes)
Ignore Timestamp=0
; ******* values for Execution Method: (0= ) (1=Synchronization) (2=Backup (Mirror Source to Target)) (3=Replication (Augment Target)) (4=Replication (Refresh Target)) (5=Replication (Update Target)) (6=Consolidation)
Execution Method=2
; ******* values for UnatSync: (0=No) (1=Yes)
UnatSync=1
Copy File Permissions=1
Copy File/Folder Permissions=0
Copy File/Folder Auditing=0
Copy File/Folder Owner=0
Do Not Copy File/Folder Data Streams=1
Use Volume Shadow Copy=0
; ******* values for Use Volume Shadow Copy For: (0=Source) (1=Target) (2=Both)
Use Volume Shadow Copy For=0
; ******* values for No empty source/target check: (0=No) (1=Yes)
No empty source/target check=1
; ******* values for Replace newer target files with older source files (backup only): (0=No) (1=Yes)
Replace newer target files with older source files (backup only)=1
Speed=100
Copy Buffer=32768
Flush Buffer=0
; ******* Log File
Log File=C:\Users\Bruce Lawson\AppData\Roaming\Vice Versa Pro\log.log
; ******* values for Empty Log: (0=No) (1=Yes)
Empty Log=0
Log File Size=0
; ******* values for Log Only Summary and Exceptions: (0=No) (1=Yes)
Log Only Summary and Exceptions=0
; ******* values for Monitor Conflicts: (0=No) (1=Yes)
Monitor Conflicts=0
; ******* Sync Tracking Database
Sync Tracking Database=
Sync Conflicts=0
; ******* values for SCT: (0=No) (1=Yes)
SCT=1
; ******* values for NSC: (0=No) (1=Yes)
NSC=1
Source-Target Offset=0
; ******* values for Try Copy In Use Files: (0=No) (1=Yes)
Try Copy In Use Files=1
; ******* values for Always Verify CRC: (0=No) (1=Yes)
Always Verify CRC=0
; ******* values for Priority Class: (0=Default) (1=Idle (recommended)) (2=Low) (3=Below Normal) (4=Normal) (5=Above Normal) (6=High) (7=Realtime)
Priority Class=1
; ******* values for Limit Bandwidth: (0=No) (1=Yes)
Limit Bandwidth=0
Bandwidth Value=5
; ******* values for Bandwidth Unit: (0=KB/Sec) (1=MB/Sec)
Bandwidth Unit=1
; ******* values for Scripts Before: (0=No) (1=Yes)
Scripts Before=0
; ******* values for Scripts After: (0=No) (1=Yes)
Scripts After=0
; ******* Source Archive
Source Archive Folder=
; ******* Target Archive
Target Archive Folder=N:\Backup Archives\
; ******* values for Smart Archive: (0=No) (1=Yes)
Smart Archive=0
; ******* values for Move Files To Archive: (0=No) (1=Yes)
Move Files To Archive=0
; ******* values for Archive Conflicts Only: (0=No) (1=Yes)
Archive Conflicts Only=0
Num. Copies=0
Remove Days=30
Append Path=1
Max Archive Size=0
DES=0
; *******
ComEnc String=
[Filters]
; ******* values for Exclude Hidden Files: (0=No) (1=Yes)
Exclude Hidden Files=0
; ******* values for Exclude System Files: (0=No) (1=Yes)
Exclude System Files=0
; ******* values for Exclude Read-Only Files: (0=No) (1=Yes)
Exclude Read-Only Files=0
; *******
Exclude After Date=
; *******
Exclude Before Date=
Exclude Days Ago=0
Exclude Greater than bytes=0
Exclude Smaller than bytes=0
Num. of Filters=9
Filter 0=Exclude
Filter 1=desktop.ini
Filter 2=
Filter 3=Exclude
Filter 4=Thumbs.db
Filter 5=
Filter 6=Exclude
Filter 7=~*.*
Filter 8=
[FiltersDirs]
Num. of Filters=9
Filter 0=Exclude
Filter 1=C:\Users\Bruce Lawson\Pictures\Mobile Photos\
Filter 2=
Filter 3=Exclude
Filter 4=C:\Users\Bruce Lawson\Pictures\My Scans\
Filter 5=
Filter 6=Exclude
Filter 7=C:\Users\Bruce Lawson\Pictures\Zune\
Filter 8=
[ArchiveFilters]
Num. of Filters=0
[Subfolder Filters]
; ******* values for Exclude Empty Subfolders: (0=No) (1=Yes)
Exclude Empty Subfolders=0
; ******* values for Exclude Hidden Subfolders: (0=No) (1=Yes)
Exclude Hidden Subfolders=0
; ******* values for Exclude System Subfolders: (0=No) (1=Yes)
Exclude System Subfolders=0
; ******* values for Exclude Read-Only Subfolders: (0=No) (1=Yes)
Exclude Read-Only Subfolders=0
[ViceVersa Profile - File Version 4.0.0]
Quote: | What type of drive is the target drive? |
A network drive.
BLatSD wrote: | The size, attributes or timestamp of <file> have changed after comparison. For data security reasons this file will be skipped. Press 'Refresh' to recompare Source and Target
| Quote: | <file> is the source file that must be copied or the target file that must be deleted? |
Target file that must be deleted. |
|
Back to top |
|
|
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Fri Sep 10, 2010 1:01 am Post subject: |
|
|
I've either resolved this properly or worked around it, not sure which.
Archiving was set to write to an external drive that used to be plugged into my old computer. Security permissions & Owner were all set to my user account on the old PC. I've changed the owner & sole account to "Everyone" with full prviledges & set the entire drive to inherit priviledges from it's parent & propogated changes to all child objects.
So in short, the message that ViceVersa was writing to the log, that it could not delete the target file due to target file changes in attributes since compare was not true & definitely led me down the wrong road.
It was the fact that it could not write to the archive location because of drive & folder permissions that caused the problem. Why it only produced the error with VVEngine and not with ViceVersa, I don't know.
Possibly changes outlined in the "Tray Icon is Always Gray" thread may have helped too. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Fri Sep 10, 2010 5:06 am Post subject: |
|
|
Hello
yes, the error message is definitely wrong.
I think the problem manifested only under VVEngine because of the reasons we are discussing in the other thread.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Fri Sep 10, 2010 11:41 pm Post subject: |
|
|
Since my permission & UAC issues have been resolved under the other thread, I've focused on this problem and have become aware of some new information that should help you pin it down.
The problem results when a file in a VVEngine monitored source folder is renamed, and only when the profile is run from VVEngine (OK in VVPro). So if I merely update an existing file & resave it, everything archives fine. But if I rename that file, it copies over the newly renamed file to the target, but then the the "attributes have changed" error noted above occurs, and it can't delete the old named file from the target.
I don't know if it is a coincidence or not but all of these profiles in which this error occurs with archiving turned on all have only one source/target. And also for what it's worth, when the archiving operation begins, it always creates any necessary sub-folders in the archive. So it gets that far. It just doen't create the archived file when a rename occurs. But then on the other hand, should it? If only a rename occured, why would it have to archive the file in the first place?
So I think this pretty much eliminates any UAC, or drive/folder/file permissions issues. If it has permission to re-write an updated file, it should have permission to rename it too. And, I started remembering that I was having this error with Windows XP too, so it's not Windows 7 caused. There's something else wrong. |
|
Back to top |
|
|
BLatSD
Joined: 12 Mar 2009 Posts: 40
|
Posted: Sat Sep 11, 2010 3:55 pm Post subject: |
|
|
I just noticed one other thing... Running VVEngine in "normal" mode (not as a service), if I designate the target (which is a network drive) using it's drive letter, the profile fails with "Target Not Found". Whereas if I designate it with UNC format, it does not fail.
BUT, I can run the profile using the drive letter in VVPro.
I just wish VVEngine would behave or act with the same priviledges as VVPro. It would solve all of these issues. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Tue Sep 14, 2010 4:28 am Post subject: |
|
|
Hello
the difference is that the account running VVEngine is running in elevated mode and connection to the mapped drive is not made. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|