cannot connect to X5 from VS.NET

G

Guest

I am able to successfully build my C# app in VS.NET but am having trouble
deploying it to my Dell Axim X5. I am running ActiveSynch 3.7.1 and have
successfully connected my device to the PC and synchronized. Whenever I
select deploy, it asks me for the device type (which I select PocketPC) and I
get the following error:

Error: Cannot establish a connection. Be sure the device is physically
connected to the development computer.

According to Asynch, my device is connected. I am able to browse the device
using Mobile Explorer, etc.

I tried to deploy it to the emulator and that worked fine. Any ideas on
what might be wrong would be appreciated.

Regards,

Rob C
 
G

Ginny Caughey [MVP]

Rob,

If you retry deploying immediately after you get the error message, does
that work? Sometimes on a slow notebook I find I have to try to deploy
twice, even to emulators on occasion.
 
G

Guest

Hi Ginny,

I think I tried about 5 times with the same results. I then switched to
emulator and it worked then tried at least twice after setting it back to
PocketPC.

Regards,

-Rob
 
G

Ginny Caughey [MVP]

Rob,

Ok well you tried that then. I don't have an X5 so I can't test that myself.
Maybe someone else will have a suggestion.

--
Ginny Caughey
..Net Compact Framework MVP
 
G

Guest

Is there a setting that tells the deployment whether to use ActiveSynch or to
try and connect using an IP connection?

When it starts to try and connect, I get the message:

Deploying to Pocket PC Device using TCP Connect Transport

I am connected using ActiveSynch.

thanks,

-Rob
 
G

Ginny Caughey [MVP]

Rob,

The PocketPC should connect to Visual Studio using ActiveSync just fine.
Have you uninstalled ActiveSync since installing Visual Studio by any
chance? That can cause problems.

--
Ginny Caughey
..Net Compact Framework MVP
 
G

Guest

Hi Ginny,

I have installed a newer version of ActiveSynch (3.7.1) since installing
VS2003. I saw a reply to an earlier note that referenced a KA article where
this caused a problem. It referred to Asynch 3.5. The error message was
exactly the same as what I am getting. Is this a problem with 3.7.1 as well?

The easier solution was to reset the parameters for ProxyPorts. Do you what
the appropriate port settings should be? I hate to have to reinstall the
entire toolkit.

Regards,

-Rob
 
G

Ginny Caughey [MVP]

Rob,

If you just upgraded from AS 3.5 to AS 3.7.1 the problem would not appear.
But if you uninstalled and reinstalled, then this can cause the problem.
Here are instructions for resetting the ProxyPorts:
http://download.microsoft.com/downl...4f9f-a464-c5adc890e1ae/Readme.htm#ASUninstall
As you can see, when you run the .REG file, the right settings are set up
automatically.

If this doesn't work for you, you may be able to get things working by just
reinstalling the Smart Device functionality in VS and not the whole Visual
Studio.

--
Ginny Caughey
..Net Compact Framework MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top