This article has been archived. It is offered "as is" and will no longer be updated.
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
On a computer that has Visual Studio .NET 2003 installed, when you remove and reinstall ActiveSync 3.5, you cannot deploy a smart device application to a device that is connected over USB. You may receive the following error message:
Deploying to Pocket PC Device using TCP Connect Transport Error: Cannot establish a connection. Be sure the device is physically connected to the development computer.
When you install Visual Studio .NET, the installation writes registry entries that are related to the proxy port for ActiveSync. These proxy port registry entries inform ActiveSync to forward all localhost, proxy port-specific TCP data to the device. When you remove or reinstall ActiveSync, these registry entries are corrupted.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To resolve this problem, you must recover the proxy port registry entries. To recover these registry entries, use one of the following methods:
Reinstall Visual Studio .NET. To do this, follow these steps:
Remove and then reinstall Visual Studio .NET 2003.
Restart the computer.
For more information about how to remove and how to install Visual Studio .NET, click the following article number to view the article in the Microsoft Knowledge Base: