Unable to create a slave VDFS repository linked to an outdated VisualSVN Server version

Symptoms

When trying to create a slave repository, you may receive the following error message:

Failed to access the remote VDFS service

The configured master repository is hosted by an outdated version of VisualSVN Server that does not support all required VisualSVN Distributed File System features.

Please consider upgrading the remote VisualSVN Server instance to a newer version or switch your local VDFS service to backward compatibility mode. See the link below for detailed information on VDFS backward compatibility mode.

The remote procedure call failed: The procedure number is out of range

Cause

This error indicates that the version of VisualSVN Server instance hosting the master VDFS service is outdated and is not compatible with the slave VDFS service.

Resolution

In order to resolve the issue, it is recommended to upgrade all VisualSVN Server instances in the multisite environment to the same version. Read the article KB138: Upgrading to VisualSVN Server 3.9 instructions for upgrading to the latest version of VisualSVN Server.

Workaround

In order to workaround the issue, it is possible to switch the slave VDFS service to the backward compatibility mode. However, in such case not all VDFS features are going to be available until both VisualSVN Server instances are at the most up-to-date or at least compatible version.

Follow these steps, in order to switch the slave VDFS service to backward compatibility mode:

  1. Add the following registry value (string) on the slave VisualSVN Server computer (assuming that the master computer has VisualSVN Server 3.8.x installed):
    • for a 32-bit operating system:
      [HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Server]
      "VdfsProtocolVersion"="3.8"
      
    • for a 64-bit operating system:
      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VisualSVN\VisualSVN Server]
      "VdfsProtocolVersion"="3.8"
      
  2. Restart the VisualSVN Server services on the slave server.
Note
The specific VdfsProtocolVersion registry value depends on the version of VisualSVN Server that hosts master VDFS repository:
  • specify "VdfsProtocolVersion"="3.8" if the master VisualSVN Server version is VisualSVN Server 3.8.x, 3.7.x, 3.6.x or 3.5.x (there were no VDFS protocol changes in these versions),
  • specify "VdfsProtocolVersion"="3.4" if the master VisualSVN Server version is VisualSVN Server 3.4.x or 3.3.x (there were no VDFS protocol changes between versions 3.3.x and 3.4.x),
  • VDFS protocol versions "3.0" and "3.2" are not supported in VisualSVN Server 3.5 and later.

See also

KB139: Upgrading to VisualSVN Server 3.9 in a multisite environment
KB138: Upgrading to VisualSVN Server 3.9
Last Modified: