Microsoft KB Archive/813562

= PRB: Deployment on an Emulator Does Not Respond When You Select the COM1 Port in the Configure Emulator Settings Window =

Article ID: 813562

Article Last Modified on 5/30/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer

-



SYMPTOMS
When you configure emulator settings to use COM1 as the serial port1 for the Microsoft Pocket PC Emulator or Emulator for Microsoft Windows CE .NET, then you may receive the following error message when you try to deploy a smart device application on an emulator:

There were deployment errors. Continue?

If you click Yes, then the smart device application does not deploy the emulator.



CAUSE
When you specify the COM1 port for communication while you configure emulator settings, Visual Studio .NET tries to use the COM1 port to communicate with the device. The emulators (such as Pocket PC Emulator or Windows CE .NET Emulator) do not communicate through the COM1 port. Therefore, when you specify the Pocket PC or Windows CE .NET emulator as your deployment device and at the same time you specify the COM1 port as your communication port, you may receive an error.



RESOLUTION
To resolve the problem, change the value of serial port1 in the Configuring Emulator Settings window to None. To do so, follow these steps:
 * 1) Open Microsoft Visual Studio .NET (2003).
 * 2) Click Tools, and then click Options.
 * 3) In the Options window, expand Device Tools, and then click Devices.
 * 4) Select Pocket PC from the Show devices for platform list.
 * 5) Select either Pocket PC 2002 Emulator or Windows CE .NET Emulator from the Devices list.
 * 6) Select Emulator Startup Provider from the Startup server list, and then click Configure.
 * 7) In the Configure Emulator Settings window, click the Hardware tab.
 * 8) Select None from the Serial port1 list, and then click OK.
 * 9) Click OK to close theOptions window.



STATUS
This behavior is by design.



Steps to Reproduce the Behavior

 * 1) Open Microsoft Visual Studio .NET (2003).
 * 2) ClickTools, and then click Options.
 * 3) In the Options window, expand Device Tools, and then click Devices.
 * 4) Select Pocket PC from the Show devices for platform list.
 * 5) Select Pocket PC 2002 Emulator from the Devices list.
 * 6) Select Emulator Startup Provider from the Startup server list, and then click Configure.
 * 7) In the Configure Emulator Settings window, click the Hardware tab.
 * 8) Select COM1 from the Serial port1 list, and then click OK.
 * 9) Click OK to close the Options window.
 * 10) On the File menu, point to New, and then click Project.
 * 11) Under Project Type, click either Visual Basic Projects or Visual C# Projects. From the Templates list, select Smart Device Application, and then click OK.
 * 12) From the What platform do you want to target? list, select Pocket PC.
 * 13) From the What project type do you want to create? list, select Windows Application, and then click OK.
 * 14) On the Debug menu, click Start.
 * 15) From the Deploy dialog box, select Pocket PC Emulator, and then click Deploy.

Keywords: kberrmsg kbdevicespecific kbdeployment kbemulation kbprb KB813562

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.