SQL Server does not exist or access denied

If you get this database error while exporting a Legacy file on Windows XP or Windows 2003 Server, the error is most likely due to the MaxUserPorts setting in the registry.

On the client machine, change the following key in regedit (with all the normal precautions and warnings):

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Look for MaxUserPort. It is probably set to 5000. Try increasing that to 10000 and see if that allows the process to complete or at least run further. If you don’t find MaxUserPort in the registry (Windows Server 2003), add it with a value of 10000. The value can actually go as high as 65534. You must reboot for this setting to take effect.

Revised: 2010-09-08