Emulator used to work, but now I no longer can communicate to it from VS2005. Reinstalling VS2005 didn't help.
Using DMA transport
When I try to connect to the emulated device I get the following error message:
To 'Windows Mobile 5.0 Pocket PC Emulator'
Connection failed. a specified communication resource (port) is already in use by another application.

Emulator communications error
Lourdes
This didn't change the problem at all. Same symptoms and behavior as before.
MartinBrill
Hello,
1. Can you please try clearing the save-state Go to Device Emulator Manager->Right Click->Clear Save state for the emulator for which you are obtaining this problem.
2. Are you obtaining this problem with each of the emulator or with a specific emulator
-Thanks,
Mohit
Carver42
Hello,
There looks to be a DMA connectivity problem between the VS2005 transport and Emulator in your case. The workaround is to use TCP transport for the connectivity for the time being.
We would like to investigate more on the issue. Can you please help us in identifying the root cause of the problem by sending us the log file You need to follow the following steps in order to generate the log
Step 1: Install the Trace Utility. http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/tracelog-o.asp. Tracelog.exe will be installed to "%ProgramFiles%\Resource Kit"
Step 2: Enable Tracing: run
Step 3: Run the scenario - In your case try connect to device from VS.
Step 4: Disable Tracing: run
All going well, the first few lines of output should be:
Step 5: Send c:\trace.etl to me (mohit.gogia[AT]microsoft.com) as an email attachment. The file should be small - no more than a few hundred kilobytes in length.
-Thanks,
Mohit
Lars Breiter
Based on the testing I have been doing I am guessing something besides VS2005 is holding the serial port. Anyone know of any way to determine what is holding the serial port I still can't find what application is doing so on my desktop machine.
This seems to be a real defect in the VS2005 as I am seeing all sorts of modest applications (like the little application on my laptop that I use to program my remote control) that block use of the VS2005 emulator.
The thing that is really confusing is that other applications can use the serial ports just fine.
Bard7
I have tried that. I uninstalled both things that reasonably could have had impact and those that wouldn't. No effect.
Does anyone know what ports are made available to the emulator
nd_ramesh
Hello,
Since you mentioned that it used to work but no longer works now, do you recall any events after which it stopped working like some crash, install of some other product etc.
-Thanks,
Mohit
SpencerInLa
Hello,
Thanks for providing us with the log file. It appears that somehow DMA transport got into incosistent state, the root cause of which we are not able to identify yet.
Can you please try the following. There are two saved-states
1. Local -> Inside c:\Documents and Settings\<username>\Application Data\Microsoft\Device Emulator\*.dess
2. Global -> Inside c:\Documents and Settings\All users\Application Data\Microsoft\Device Emulator\*.dess
Please rename all the save-state images, both local and global. This will cause the emulator to cold-boot.
-Thanks,
Mohit
Matthew Hoover - MSFT
Clearing the save state was one of the first things I tried. It had no effect.
Problem is with all emulators.
Mark Levison
Can you try deleting the local datastore,
Close all instances of VS, emulator and emuator manager.
Go to , SysDrive:\Documents and settings\<User>\Local Settings\Aplication Data\Corecon
Delete the 1.0 directory.
open VS.
Now try connecting to the emulator.