BUG: Cannot deploy smart device application after you remove and reinstall ActiveSync (813579)
The information in this article applies to:
- Microsoft .NET Compact Framework
- Microsoft ActiveSync, Version 3.5
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
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 SYMPTOMSOn 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. CAUSEWhen 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.RESOLUTIONWarning 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:
312779
Visual Studio .NET 2002 Readme (Part 1)
- Export and then import the proxy port
registry entries. To do this, follow these steps:
- On the computer that does not have the problem, locate the following registry subkey:
\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE
Services\ProxyPorts - Right-click ProxyPorts, and
then click Export.
- Save the registry file as
Proxyport.reg.
- Copy the Proxyport.reg file to the computer that has the problem.
- Double-click Proxyport.reg, and then click
Yes in the Registry Editor dialog box. This writes the proxy port registry entries to
the registry.
- Restart the computer.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 3/2/2006 |
---|
Keywords: | kberrmsg kbRegistry kbbug KB813579 kbAudDeveloper |
---|
|