I've got a problem and wonder if anyone else has it (and has resolved it
My problem is as follows .. I create a new device application and try to run in in emulator.. the emulator starts just fine, but it won't connect to it! At all!
The error is "Connection failed. The system cannot find the path specified."
Thanks in advance,
Tadej

Visual Studio 2005 Beta 2 - Emulator problem
nigelborrill
"Error: The saved state file is from another version of the emulator and is not compatible with the current emulator."
Any idea where the saved state file is stored so I can delete it
thanks.
Thomas Moore
\Documents and Settings\All Users\Application Data\Microsoft\Device Emulator
or in your user directory:
\Documents and Settings\<your user>\Application Data\Microsoft\Device Emulator
You will want to delete the .dess files in these directory. In the RTM version of Whidbey, we will have a better way of handling this error.
Kal_Torak
\Documents and Settings\<localuser>\Local Settings\Application Data\Microsoft\CoreCon
and restart VS
pongopiprakash
I am having the exact same problem. Here are the steps to reproduce:
-Start a new SmartPhone 2003 Project
-Left Menu Item - "Cancel" - mnuCancel
-Right Menu Item - "Say Hello" - mnuSayHello
-mnySayHello_Click event as follows:
Private
Sub mnuSayHello_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuSayHello.Click Me.Label1.Text = "Hello World" End SubStart debugging and the SmartPhone 2003 SE Emulator appears. VS.Net 2005 beta 2 reports it is deploying the application. VS.Net reports "There were deployment errors" - Continue Yes No Click No. VS.Net's error list reports 1 error....Failed to connect to device. If you click yes, a second error dialogue appears - "The operation could not be completed. The system cannot find the path specified." Click 'OK' and VS.Net's error list show's...Failed to connect to device.
I have tried soft/hard resetting the device emulator as well as the Clear Saved State option to no avail. Any assistance would be greatly appreciated.
I should note that this machine has VS.Net 2003 installed on it with the Smartclient SDK and it also had VS.Net 2005 beta 1. I followed the instructions for removal of VS.Net 2003 beta 1.
John Walker
ETor
I had the same problem so from a previous tip for vs.net 2005 beta 1 I added the service Virtual Machine Network Services to my network connection. I still got the same error so then I saw this tip and deleted the CoreCon directory and it worked fine. (I tried removing the Virtual Machine Network Services to see if just deleting the corecon directory solved the problem but I was back to the original problem.)
Now if I deploy to an unsaved state emulator the deploy works fine. If I save the state and then deploy it fails the first time but if I leave the emulator up and then try the deploy again it works.
The reason I am trying to save the state is so I don't have to deploy the NETCFV2.ppc.armv4.cab file and the System_SR_enu.cab file. Perhaps there is another technique I can use to always get those on the emulator.
Two other issues that I might as well mention here:
1. When debugging an app in the emulator the cursor is a wait cursor unless I move it over a spot on the emulator which changes it to an arrow. This makes it a little tough to tell when the complete deployment of my app to the emulator is finished.
2. If I close the emulator vs.net 2005 does not stop debugging. I'm pretty sure it used to in vs.net 2003 but I could be mistaken. I go debug->stop debugging and at that point I get the following message:
"A fatal error has occurred and debugging needs to be terminated. For more details .... HRESULT=0x80072746. ErrorCode=0x0."
At that point debugging is stopped and everything is okay but I thought you should know about this.
Brian
rajuraju
Balaji Thiruvenkataraju
After installing it, make sure the smartphone emulator selects this loopback adapter in the network options, available in VS in Tools->Options->Devices->Devices options->smartphone emulator->properties->properties->Network->Ne2000. Close and reopen the emulator and that should fix the deployment problem you are getting for the smartphone image.
LMiranda
Ok, I deleted the CoreCon folder, restarted VS and tried to debug again. This time I get an error - Connect to device failed. Under the file column of the error list, it states - Conman HelpText System. Any ideas Thanks again for your assistance.
Regards,
John Walker
Linda-De
Colin Hardie
John W.
nkabirwa
raindrops123
Are you launching the emulator from the IDE Have you tried connecting to the emulator using the Device Emulator Manager
jonsanity
Another solution would be to install the loopback adapter. You can find instructions on how to do that at :
http://support.microsoft.com/default.aspx scid=kb;en-us;839013
Alexcs786
Now, how about for Smartphone 2003 I am assuming I have to do something similar under Settings - Data Connections, but I am kind of lost in there Can you point me to any resources
Finally, thanks for the help. It is very much appreciated.