Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Connection Problem? No Solution! What can I do?

9 views
Skip to first unread message

Carlo Nicora

unread,
Mar 12, 2003, 12:13:14 PM3/12/03
to
Hi All!
I had... no I HAVE the problem connecting to my iPAQ with the VS.NET 2003
and the CF.
I have tried ALL the proposed solutions, but none worked. The last thing
that I can do is rebuilding COMPLETELY my OS (XP Pro English), but I don't
think this is a good solution.
Does anyone have understood where the prblem resides?

Uhm... when I have written that I have tried all the proposed solutions i
mean ALL, everyone found here!

Replies are VERY WELCOME!

Thanks and Best Regards

Carlo Nicora

OPS! Sorry for the previous encrypted message! SORRY!


Rich Hanbidge [MSFT]

unread,
Mar 17, 2003, 6:40:42 PM3/17/03
to
Hi Carlo,
Let's take it from the top and see if we can get this working for you.

First, what version of the Pocket PC OS are you running? 2000 or 2003?
Second, what version of Active Sync do you have installed?
Next, do you have a network connection on the device?
Last, how is your device connected to your desktop machine? USB using the cradle?

Can you open a new instance of VS and copy the contents of the output window to me after a failure?

Thanks,
Rich

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Carlo Nicora" <carlo....@thundertechnology.com>
| Subject: Connection Problem? No Solution! What can I do?
| Date: Wed, 12 Mar 2003 18:13:14 +0100
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <OP3qvrL6...@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: host117-186.pool62211.interbusiness.it 62.211.186.117
| Path: cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06 microsoft.public.dotnet.framework.compactframework:18706
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Carlo Nicora

unread,
Mar 18, 2003, 4:05:03 AM3/18/03
to
Hi Rich!

> Let's take it from the top and see if we can get this working for you.

Thanks!

> First, what version of the Pocket PC OS are you running? 2000 or 2003?

2002 English
iPAQ ROM Version 1.20

> Second, what version of Active Sync do you have installed?

Active Sync 3.6 (Build 2148)

> Next, do you have a network connection on the device?

What do you mean with "network Connection"?

> Last, how is your device connected to your desktop machine? USB using the
cradle?

The PPC is connected via USB to a laptop (Windows XP Professional English),
but not with the craddle,. with a cable that recharge the PPC directly from
the USB.

> Can you open a new instance of VS and copy the contents of the output
window to me after a failure?

Here it is!
------ Build started: Project: SmartDeviceApplication1, Configuration: Debug
Pocket PC ------

Preparing resources...

Updating references...

Performing main compilation...

Building satellite assemblies...

Visual Studio is ready to deploy SmartDeviceApplication1

------ Deploy started: Project: SmartDeviceApplication1, Configuration:
Debug Pocket PC ------

Deploying to Pocket PC Device using TCP Connect Transport

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

---------------------- Done ----------------------

Build: 1 succeeded, 0 failed, 0 skipped

Deploy: 0 succeeded, 1 failed, 0 skipped


You have to think also that in "Device Option" I cannot connect to the PPC.
The error is the same as shown above!

Thank You again

Best Regards


Rich Hanbidge [MSFT]

unread,
Mar 18, 2003, 6:49:51 PM3/18/03
to
Alright, now we are getting somewhere.

First, by network connection I mean an ethernet connection or wireless card connected to the device.

Next, are you certain that you have an Active Sync connection to the device before you attempt to deploy/debug? You should be able to view the files on the device using File Explorer if you are connected.

If you are in fact connected, can you take a look at your Connection Options?
1. Click on "Tools->Options->Device Tools->Devices"
2. You will want "Show Devices for Platform" to display "Pocket PC" and select Pocket PC Device
3. Now you should see "Transport," and "Startup Server"
4. Your Startup Server should be "ActiveSync Startup Provider" There should be no option to configure this
5. Your Transport should be "TCP Connect Transport"
6. Used Fixed TCP Port should NOT be selected
7. Device IP Address should have "Obtain an IP address Automatically using ActiveSync" selected.
8. You should not have "Use Specific IP Address" selected.

If all of this looks good, can you verify that you have a number of entries in your registry under this key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\ProxyPorts"
You should see a number of entries looking something like "DeviceMDM00".

Another option is to navigate to the \windows directory on the device and delete ConManClient.exe and cmtnpt_tcpconnect.dll (you'll have to change the folder options to "see" DLLs), and then try again.

Can you let me know if any of this gets you moving?

Rich

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Carlo Nicora" <carlo....@thundertechnology.com>

| References: <OP3qvrL6...@TK2MSFTNGP11.phx.gbl> <YND1S6N7CHA.1460@cpmsftngxa06>
| Subject: Re: Connection Problem? No Solution! What can I do?
| Date: Tue, 18 Mar 2003 10:05:03 +0100
| Lines: 73


| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

| Message-ID: <eNCp92S...@TK2MSFTNGP11.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: host117-186.pool62211.interbusiness.it 62.211.186.117
| Path: cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl

| Xref: cpmsftngxa06 microsoft.public.dotnet.framework.compactframework:19101
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Carlo Nicora

unread,
Mar 19, 2003, 12:47:52 PM3/19/03
to
Hi!

> First, by network connection I mean an ethernet connection or wireless
card connected to the device.

Ok, No, I have not!

> Next, are you certain that you have an Active Sync connection to the
device before you attempt to deploy/debug? You should be able to view the
>files on the device using File Explorer if you are connected.

Yes, it is!

> If you are in fact connected, can you take a look at your Connection
Options?

Done! All the things are exactly as you told!

> If all of this looks good, can you verify that you have a number of
entries in your registry under this key:
> "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\ProxyPorts"
> You should see a number of entries looking something like "DeviceMDM00".

Ok, I have from "DeviceMDM00" to "DeviceMDM31", and "Olrox" and "Puma".

> Another option is to navigate to the \windows directory on the device and
delete ConManClient.exe and cmtnpt_tcpconnect.dll (you'll have to
> change the folder options to "see" DLLs), and then try again.

There are none where you told.

> Can you let me know if any of this gets you moving?

Everything was as you said!
But still the same problems!

If I click "Connect" in the Option of VS2003 the result is:
CONNECTION FAILED
Cannot establish a connection. Be sure the device is phisically connected to
the development computer.

And Nothing moves!
:-(

Bye

Carlo


Rich Hanbidge [MSFT]

unread,
Mar 19, 2003, 6:19:59 PM3/19/03
to
Can you give me the name of the USB Cable you are using? I haven't heard of that before, and it is the only thing I can think of that may be causing you problems.

Do you still have the Cradle which came with the device? Can you try that out? If you can deploy and debug using the Cradle, that at least narrows down the problem.

In the mean time, I'll contact Product Service Support, and see if they have any info to share.

Don't give up yet!

Rich
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Carlo Nicora" <carlo....@thundertechnology.com>

| References: <OP3qvrL6...@TK2MSFTNGP11.phx.gbl> <YND1S6N7CHA.1460@cpmsftngxa06> <eNCp92S...@TK2MSFTNGP11.phx.gbl> <h42UDka7CHA.1684@cpmsftngxa06>


| Subject: Re: Connection Problem? No Solution! What can I do?

| Date: Wed, 19 Mar 2003 18:47:52 +0100
| Lines: 44


| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

| Message-ID: <O2nry$j7CH...@TK2MSFTNGP10.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: host117-186.pool62211.interbusiness.it 62.211.186.117

| Path: cpmsftngxa08.phx.gbl!cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa08.phx.gbl microsoft.public.dotnet.framework.compactframework:19338
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Carlo Nicora

unread,
Mar 20, 2003, 9:40:32 AM3/20/03
to
Hi Rich!

I don't remember the name of the cable, but don't worry about it...
it is not the cable!!!!
It's one of the first test I made!
For Your Information, with eVb and eVc and all the applications that came
with the Embedded Visual Tools v 3.0 everything works fine, there are no
"Connection Problem" and the programs made with that kind of applications
are deployed correctly!

Bye

Carlo


Rich Hanbidge [MSFT]

unread,
Mar 20, 2003, 6:21:59 PM3/20/03
to
To debug and deploy, we use ActiveSync to proxy TCP requests to the device.
This is potentially different from what the eVT 3.0 tools do. While it is
unlikely that the cable is causing the problem, everything else looks fine.

Do you have access to the original cradle to attempt to deploy with?

Other than that, the next step would be to "hard" reset the device. Keep
in mind, this will erase all data and programs on the device.

Are you able to deploy and debug to the Emulator?

Rich

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Carlo Nicora" <carlo....@thundertechnology.com>
| References: <OP3qvrL6...@TK2MSFTNGP11.phx.gbl>
<YND1S6N7CHA.1460@cpmsftngxa06> <eNCp92S...@TK2MSFTNGP11.phx.gbl>

<h42UDka7CHA.1684@cpmsftngxa06> <O2nry$j7CH...@TK2MSFTNGP10.phx.gbl>
<tNJMW4m7...@cpmsftngxa08.phx.gbl>


| Subject: Re: Connection Problem? No Solution! What can I do?

| Date: Thu, 20 Mar 2003 15:40:32 +0100
| Lines: 15


| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

| Message-ID: <O0KQy7u7...@TK2MSFTNGP11.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: host117-186.pool62211.interbusiness.it 62.211.186.117
| Path:

cpmsftngxa08.phx.gbl!cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa08.phx.gbl
microsoft.public.dotnet.framework.compactframework:19411
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Carlo Nicora

unread,
Mar 21, 2003, 5:43:07 PM3/21/03
to
Hi Rich!

> Do you have access to the original cradle to attempt to deploy with?

Yes, I have tried it, but nothing happens!

> Other than that, the next step would be to "hard" reset the device. Keep
> in mind, this will erase all data and programs on the device.

Done more than once!
I had to do it because of a screen problem on my iPAQ and it goes back to
Compaq.

I have tried with another iPAQ 3850, but nothing happens with this different
hardware!
:-(

> Are you able to deploy and debug to the Emulator?

Yes, in Emulator I can deploy the application!

> Rich

Best Regards

Carlo

Christin Boyd [MS]

unread,
Mar 25, 2003, 7:29:23 PM3/25/03
to
Carlo -
You mentioned that you're using a laptop. In order for deployment to work,
you must have a live network connection between your laptop and the
internet, or a loopback adapter installed.

Let me know if that helps.

Christin Boyd
Program Manager
Microsoft

--------------------
| From: "Carlo Nicora" <carlo....@thundertechnology.com>
| References: <OP3qvrL6...@TK2MSFTNGP11.phx.gbl>
<YND1S6N7CHA.1460@cpmsftngxa06> <eNCp92S...@TK2MSFTNGP11.phx.gbl>
<h42UDka7CHA.1684@cpmsftngxa06> <O2nry$j7CH...@TK2MSFTNGP10.phx.gbl>
<tNJMW4m7...@cpmsftngxa08.phx.gbl>

<O0KQy7u7...@TK2MSFTNGP11.phx.gbl> <AeMlDez7CHA.1640@cpmsftngxa06>


| Subject: Re: Connection Problem? No Solution! What can I do?

| Date: Fri, 21 Mar 2003 23:43:07 +0100
| Lines: 31


| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

| Message-ID: <#PXGHu$7CHA...@TK2MSFTNGP11.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: host117-186.pool62211.interbusiness.it 62.211.186.117

| Path: cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06
microsoft.public.dotnet.framework.compactframework:19430
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Terry Fogg

unread,
Mar 25, 2003, 10:40:35 PM3/25/03
to
Hi,
I appear to have a similiar problem.
Previously working, activesync currently working, but .net 2003 to pocket pc
not working.
By monitoring the TCP packets during trying to connect device or deploy from
the .net 2003, I first see a successful connection to 127.0.0.1:990 and some
conversation with a reference to Connmanager in the packets.
Then an attempt is made to open a connection to 127.0.0.1:5656 which
returns the following
could not connect - WSAECONNREFUSED (No connection could be made because the
target machine actively refused it).

Currently still trying to determine my problem

"Carlo Nicora" <carlo....@thundertechnology.com> wrote in message
news:O0KQy7u7...@TK2MSFTNGP11.phx.gbl...

Carlo Nicora

unread,
Mar 26, 2003, 2:51:54 AM3/26/03
to
Hi All!

> In order for deployment to work,
> you must have a live network connection between your laptop and the
> internet, or a loopback adapter installed.

My laptop is usually connected to a network that can go over internet by a
proxy server.
And it does not work.
At home I am connected to my network that is connected 24 hours to the net
And it does not work...

I don't know about a loopback adapter, but for the other things it works...
...but I have to specify you that nothing changed from the day everythings
worked to the day of the first failure!

Bye

Carlo


Roger

unread,
Apr 15, 2003, 5:03:40 AM4/15/03
to
I am now having this problem as well. It used to work just fine.
ActiveSync 3.6 is quite happy, but VS Final Beta refuses to connect
just as you describe.

Any way to debug this or figure out the problem?

Roger

"Carlo Nicora" <carlo....@thundertechnology.com> wrote in message news:<uoypfz28...@TK2MSFTNGP11.phx.gbl>...

Roger

unread,
Apr 15, 2003, 10:22:58 AM4/15/03
to
Ok, it is all fixed. Just download the "Windows CE
Utilities for Visual Studio .NET 2003 Add-on Pack" and
install the ProxyPorts.reg keys. I had uninstalled
ActiveSync.

http://smartdevices.microsoftdev.com/Downloads/default.aspx

>.
>

0 new messages