FAQ and Knowledge Base

Main Page > Browse Categories > Solutions to Known Issues > Show All
Solutions to Known Issues
 Errors while running a large number of profiles concurrently in VVEngine
 I Get "Exit Code 2, the system cannot find the path specified" when Running ViceVersa from VVScheduler. Why?
 Mapped Network Drives Do Not Work in Scheduled Tasks
 Slow File Deletion in Windows Vista
 Why Outlook OST files do not copy on Windows Vista, when using VSS Volume Shadow Copies?
 [Error Message] 'Can not copy NTFS Additional File Streams ... The request is not supported.'
 [Error Message] 'File / Folder Path Longer Than 259 characters.'
 [VVLauncher] Installing VVLauncher as a Service, I Get the Error that VVLauncher Cannot Access a Network Drive. Why?
 [VVLauncher] Why Do I Get a 'Cannot Monitor Folder' Error When Running VVLauncher as a Service?


Solutions to Known Issues


Errors while running a large number of profiles concurrently in VVEngine

SYMPTOMS

When running a large number of profiles concurrently in VVEngine, the following errors may appear:

  • Some of the profiles may stop with “out-of-memory” or "Windows heap depletion" errors.
  • Some of the profiles complete, however without copying any files (this may happen only in versions before 2.5 build 2503).
  • Other profiles complete properly.

CAUSE

This behaviour may occur if the Windows desktop heap (when VVEngine is running as a standard program) or the non-interactive heap (when VVEngine is running as a Windows Service)  in the WIN32 subsystem is depleted.
Windows Heap depletion can happen because other programs / services in addition to VVEngine may be using the memory allocated in the Windows Heap.

SOLUTION

a) Limit the amount of profiles that are running concurrently by scheduling them to run at different times.

or

b) Increase the Windows desktop heap size:

Important: This section contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: http://support.microsoft.com/kb/322756/

1.Run Registry Editor (Regedt32.exe).
2.From the HKEY_LOCAL_MACHINE subtree, go to the following key: \System\CurrentControlSet\Control\Session Manager\SubSystems
3.Select the Windows value.
4.From the Edit menu, choose String.
5.Increase the SharedSection parameter:
SharedSection uses the following format to specify the system and desktop heaps:
SharedSection=xxxx,yyyy,zzzz
For 32-bit operating systems, increase the yyyy value to "12288";
Increase the zzzz value to "1024".
For 64-bit operating systems, increase the yyyy value to "20480";
Increase the zzzz value to "1024".
6. Restart the computer.

Note: Microsoft also provides a tool that can do the above steps automatically. The tool can be found at http://support.microsoft.com/kb/126962 or at http://support.microsoft.com/kb/947246 for Windows Vista, 7, 2008.

References:

- "Out of Memory" error message appears when you have a large number of programs running: http://support.microsoft.com/kb/126962

- You may receive an "Out of Memory" error message because of the desktop heap limitation in Windows Vista or in Windows 7: http://support.microsoft.com/kb/947246

- Increasing the Desktop Application Heap: http://ss64.com/nt/syntax-desktopheap.html

- Desktop Heap Overview: http://blogs.msdn.com/b/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

- Desktop Heap Overview - Part 2: http://blogs.msdn.com/b/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

- Sessions, Desktops and Windows Stations: http://blogs.technet.com/b/askperf/archive/2007/07/24/sessions-desktops-and-windows-stations.aspx

- Services, Desktops, and Window Stations: http://support.microsoft.com/kb/171890



I Get "Exit Code 2, the system cannot find the path specified" when Running ViceVersa from VVScheduler. Why?

This error does not happen when you run ViceVersa manually by clicking on "Compare".

This can occur if you are working with a mapped network drive. Drive mappings may not be available when a scheduled task runs even if you set up the task to log in with your user name and password.

Solution:
- Set up the folders as UNC paths rather than mapped drive letters (eg \\server\share\) .



Mapped Network Drives Do Not Work in Scheduled Tasks

Mapped network drives do not work in scheduled tasks, unless you explicitly map them before running the task (see note 1 below). Regardless, they may still fail for a number of reasons.

If you plan to schedule a ViceVersa profile to run in VVScheduler, VVLauncher or VVEngine (or on the command line), make sure you use the UNC network path directly in the ViceVersa profile, instead of the mapped drive.

For instance, instead of the mapped drive Y:\ use the UNC path \\ComputerName\Share\

If you need to provide a user / password combination to access \\ComputerName\Share\ , you can enter that information in the ViceVersa profile: profile settings -> folders -> network.

----------------
Note 1:
It is possible to re-map a network drive each time, when ViceVersa starts, by using a custom batch script. See profile settings->advanced settings. However, using the UNC path directly is the easiest solution.

----------------
Note 2:
If you are running VVEngine as a Windows Service, under the LocalSystem account, then the service won't have access to the network at all and using UNC paths will also fail. In this case, set the service to run under the NetworkService account or another account with access to the network. For more information on service accounts see: http://msdn.microsoft.com/en-us/library/ms686005(VS.85).aspx



Slow File Deletion in Windows Vista

If you experience slow file deletion by ViceVersa when running on Windows Vista, it is most likely caused by sending files to the Recycle Bin.

The solution is to disable the option to send files to the Recycle Bin when deleting. The option is accessed from the ViceVersa main menu -> view -> preferences.



Why Outlook OST files do not copy on Windows Vista, when using VSS Volume Shadow Copies?

When using VSS Volume Shadow Copies in Vista, ViceVersa PRO gives this error message if you try to copy an Outlook OST file:

"Can not open outlook.ost. The file could not be located."

This is by design in Windows Vista. Windows Vista Volume Shadow Copies do not include Outlook OST files.
The following is Microsoft explanation of this design decision:

<< Maintaining changes to .ost files within shadow copies is expensive in terms of space and I/O activity. The performance impact doesn’t occur during the image backup itself--the only extra work at backup time is backing up the .ost file as part of the image. Instead, the performance impact occurs during the ongoing, everyday I/O to the .ost file when Outlook is running. If the .ost changes were kept in shadow copies, then every time Outlook writes to the .ost file, the result is a copy-on-write I/O hit (2 writes, 1 read). Although we have worked to reduce the impact of copy-on-writes on shadow copies,  a heavily churned file like an .ost file could still cause problems. For these reasons, and the fact that .ost files can be regenerated, we chose to delete .ost files from the shadow copy before the image is created.

Even if the performance issues didn’t exist, there are situations where Exchange will, after an .ost is restored, detect a “future” version of the .ost file and force you to delete and then regenerate the local .ost file. Therefore, it’s still preferable to regenerate an .ost file instead of restoring it. >>

Hence, OST files cannot be copied with ViceVersa PRO using VSS Volume Shadow Copies, on Windows Vista.

To prevent ViceVersa PRO from reporting this error with OST files and VSS, exclude the OST file from the profile. Add an exclude file filter to exclude the file "outlook.ost", under profile settings -> file filters.



[Error Message] 'Can not copy NTFS Additional File Streams ... The request is not supported.'

SYMPTOMS

- You are running ViceVersa PRO on a computer that is running Windows Vista or Windows Server 2008
and
- You are copying a file over the network from a computer that is NOT running Windows Vista or Windows Server 2008
and
- You get the error message: "Can not copy NTFS Additional File Streams ... The request is not supported." The message is shown for some files only.

CAUSE 

This error message is caused by a problem in Windows Vista and Windows Server 2008, as confirmed by Microsoft.

SOLUTION

- Download and install the Windows hotfix from the Microsoft website: http://support.microsoft.com/kb/973278
or
- Disable copying NTFS additional file streams in ViceVersa. The option is in the ViceVersa profile settings -> advanced settings -> details. More info re additional file streams: http://en.wikipedia.org/wiki/Fork_(filesystem)



[Error Message] 'File / Folder Path Longer Than 259 characters.'

ViceVersa PRO shows an error message when trying to copy files or folders with path longer than 259 characters. The files or folders are skipped.

You can enable support for paths longer than 259 characters in ViceVersa as shown in this article: http://www.tgrmn.com/web/kb/item31.htm 



[VVLauncher] Installing VVLauncher as a Service, I Get the Error that VVLauncher Cannot Access a Network Drive. Why?

By default the VVLauncher service is installed under the LocalSystem account. The LocalSystem account does NOT have access to network drives. To access the network you need to run the VVLauncher service under a user account which has access to the network drive.

  • Open the Control Panel
  • On Windows NT, click Services. On Windows 2000/2003/2008/XP/Vista select Administrative Tools -> Services
  • Locate the service named VVLauncher
  • Double click on it or click the button "Properties"
  • Select the tab "Log In As" (this can have an other caption depending on the Windows version)
  • Enter the user account and password.
  • Click OK.
  • Restart the VVLauncher service.

Note: Do not use mapped drives to access the network. Instead use UNC paths ( eg \\server\share\ ). Services do not recognize mapped drives.



[VVLauncher] Why Do I Get a 'Cannot Monitor Folder' Error When Running VVLauncher as a Service?

You are probably running the VVLauncher service under the "Local System" account. The "Local System" account does not have access to network resources. This is causing the error. 
To solve this,
run the service under a user account which has access to the network share (you will need to specify proper user name and password).


  
  
 A printable version of the entire ViceVersa FAQ and Knowledge Base is also available.

 For further queries, please contact us by E-Mail at support@tgrmn.com.