I am having a problem deploying a very simple smart device application (in fact the has only a single control) to my Pocket PC (Toshiba E355 - Windows Mobile 2003).
I consistently receive the following message:
Connect To Device Failed
I have also tried to connect to my device as follows:
- From the Toolbar:
Tools --> Connect to Device - Selected Platform:
Pocket PC 2003 - Error Message:
Connection failed. No connection could be made because the target machine actively refused it.
I have installed the following in the recommended order as follows:
DMA Transport Update for VS2005 Beta 2
ActiveSync 4.0
Windows Mobile 5.0 SDK for Pocket PC
Windows Mobile 5.0 SDK for Smartphone
Can anyone give me a clue as to what is going on and how to resolve this issue!
Thanks!

Deploy to Pocket PC 2003 - Connect to device failed
tonyGasparich
I create a new PDA application, press "Start Debugging", and choose the PDA emulator from the list. The emulator then loads, but doesn't load the application. After a while, Visual Studio gets the error "Connect to Device Failed".
As I've just installed Visual Studio, and haven't changed any settings, what could be wrong Could it be the same problem
Paul
Lajos Malozsak
mbaciak
Morpheus72
Have you also made sure that your phone is app unlocked (De cert)
Drew Wildner
Hi,
I also have this kind of a problem. I can't connect to my PDA to debug on the Targe.
Prevoiusly I received the message "The configuration data for this product is corrupt. Contact your support personnel".
I then followed the advise in a other thread :
>>
If you have installed a previous version of VS2005 on a computer, you might still have configuration files that are now invalid. Close VS, delete the following directory:
\Documents and Settings\<localuser>\Local Settings\Application Data\Microsoft\CoreCon
and restart VS
<<
The sittuation seems to be a bit better now, since I don't get this old message any more. Now I get the message "Error on connecting to device"
I have installed ActiveSync 4.1, my PDA workes fine with it (sync and file up- download)
Please help!
Regards
Rainer
James Agnew
running .net 2005, activesync 4.1, mobile 4.21.
i cna sync and and explore my ppc without problem but can't deploy.
no connection.... target machine actively refused it.
any ideas thanks.
Vincent Zhao
Are you able to synchronize mails with your device, over ActiveSync If not, there might be a problem with your ActiveSync connection.
Are there prompts on the device before you get this error message
Was this device ever used with Visual Studio 2003 .NET or previous versions of the VS2005 beta If so, you may want to try to soft reset the device. If that still does not work, you might want to try to hard reset the device. Make sure you back up your data that is on device before doing that.
NanaKV
hi
I am facing the same problems too.. have u found out the way to solve this
Thanks!
mirren_st
uXuf
Unknown Name
Sanjay Patel
I've been doing some additional reading. Do I need to install Windows CE 5.0 first I am currently using windows CE 4.2.
Thanks
Cari Begle
PAS30339
I am not sure what the real reason is, but now my connection is OK and I can debug.
What I have done...
- On the PDA -> Settings -> selected the NE2000 card, (which sould not have any effects since I don't have a nework device in my PDA)
- Restarted my Computer
Well how ever. It now is working.
Regards
Rainer