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

SmartDeviceAuthenticationUtility for CE device

2 views
Skip to first unread message

Daniel Moth

unread,
Jun 15, 2003, 12:57:34 PM6/15/03
to
Hi

I am having problems deploying to a CE device from VS.NET 2003...

The same laptop connects fine to the same device when I am in the office so
that should waive the usual questions...

The same laptop does not connect fine to the same device when I take it
home. The difference is that the setup at home is via an ADSL router. Device
is connected via Ethernet and laptop wirelessly. Both ends can browse the
net fine. This is what happens:

1. Run SDAuthUtilDevice.exe on device AND tap Start

2. Run its big brother on the PC and enter the IP address and click "Set Up
Device"

3. After the usual interval a box comes up reading: "Failed to launch
ConmanClient.exe" with just an OK button

4. Note that at the same time it comes up, the Status on the previous dialog
reads Connected (!)

5. When I OK the dialog another dialog appears that reads: "Device has been
prepped and ConmanClient.exe has been successfully launched!" Note that this
is the same dialog I see in the office when I manage to connect OK.

6. I OK the dialog, then Close the previous dialog (at which point the
corresponding window on the device also goes away)

7. Try to Deploy or Start with/without debugging and it always fails with:
"Error: Cannot establish a connection. Be sure the device is physically
connected to the development computer.". The first time it pops up the
GetConnected wizard.

Note that I can browse from my laptop to the device...

Any ideas what setting I am missing or if there is something special I must
setup in the router?

Cheers
Daniel

Daniel Moth

unread,
Jun 23, 2003, 5:14:09 AM6/23/03
to
Hi

Still haven't solved this problem... Checked in the router settings and
there are no ports/protocols blocked or any other obvious setting to
tweak...

Maybe someone from MS can inform of what would cause the behaviour I see..
Particularly steps 3-4...

Cheers
Daniel

"Daniel Moth" <dmo...@hotmail.com> wrote in message
news:%23S1bA$1MDHA...@tk2msftngp13.phx.gbl...

Ximing Zhou [MS]

unread,
Jul 7, 2003, 6:55:22 PM7/7/03
to
Daniel,

Can your laptop ping the device's IP address at home? If you delete all
files from \windows\NETCFKEYS amd file \window\conmanclient.exe on device,
will they be restored/created by SmartDeviceAuthenticationUtility?

Thanks,
Ximing [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Daniel Moth" <dmo...@hotmail.com>
| References: <#S1bA$1MDHA...@tk2msftngp13.phx.gbl>
| Subject: Re: SmartDeviceAuthenticationUtility for CE device
| Date: Mon, 23 Jun 2003 10:14:09 +0100
| Lines: 68
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <eoSLahWO...@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:26349
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Daniel Moth

unread,
Jul 13, 2003, 7:47:51 AM7/13/03
to
Hi

Yes my laptop can ping the device.

Also the NETCFKEYS folder and the conmanclient.exe (and
cmtnpt_TcpConnect/Accept dlls) are created on the device after running
SDAuthUtil... (as are the EncodedSessionKey.blb and PubKey.blb under
MyComputer)...

While we are on the subject, is there any documentation on *exactly* what
keys/values are created in the registry with this process?

Cheers
Daniel

""Ximing Zhou [MS]"" <xim...@microsoft.com> wrote in message
news:RxU%23crNRD...@cpmsftngxa09.phx.gbl...

Ximing Zhou [MS]

unread,
Jul 16, 2003, 9:30:18 PM7/16/03
to
Daniel,

Try the following:
1. Run ConManClient.exe on the device. It should start a "Connection
Manager" dialog. Select TCP_ACCEPT__ in the first dropdown. Click the
Connect button.
2. On VS.NET, click the Device Options button on the Tool bar, or select
Tools/Options/Device Tools/Device and click Configure, to get the dialog of
Configure TCP/IP Transport Settings. Select "use specific IP address" and
enter the IP address of the device.
3. Try deploying a device application with or without debugging.

Ximing [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Daniel Moth" <dmo...@hotmail.com>
| References: <#S1bA$1MDHA...@tk2msftngp13.phx.gbl>

<eoSLahWO...@TK2MSFTNGP12.phx.gbl>
<RxU#crNRDH...@cpmsftngxa09.phx.gbl>


| Subject: Re: SmartDeviceAuthenticationUtility for CE device

| Date: Sun, 13 Jul 2003 12:47:51 +0100
| Lines: 129


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

| Message-ID: <Ox#vvUTSD...@tk2msftngp13.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110

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

AdeW

unread,
Jul 21, 2003, 8:23:21 AM7/21/03
to
I also have a problem using SDAuthUtilDevice. After clicking 'Set Up
Device' at the Visual Studio end I get a message: "Unknown error while
prepping device!" and it complains that it cannot find PubKey.blb on
my PC. On checking the device I find that PubKey.blb has been created
in the root but is zero bytes. Presumably PubKey.blb is not being
created correctly and the process stops at that point.

I tried the tip about using ConManClient but to no avail. My device is
CE.NET 4.1 Embedded (Casio IT-500 or DT-X10). Any ideas what's going
wrong?

I cannot deploy using ActiveSync either. In fact, whatever method I
use I get the "Cannot establish connection..." message. All the
devices I have work fine with other PCs running VS.NET 2003. It seems
to me that the problem is clearly with my PC and VS.NET but everthing
I've tried so far has not worked (e.g. uninstall/reinstall everything,
run proxyports.reg after reinstalling ActiveSync). eVC++ 4.0 has no
problem deploying over ActiveSync to my devices.

It used to work fine both using ActiveSync and non-ActiveSync
connections and, apart from making the mistake of going on holiday, I
don't remember doing anything to mess it up.

Any further tips appreciated.

Ade W

xim...@microsoft.com ("Ximing Zhou [MS]") wrote in message news:<5$awaMATD...@cpmsftngxa06.phx.gbl>...

AdeW

unread,
Jul 21, 2003, 11:04:23 AM7/21/03
to
I also have a problem using SDAuthUtilDevice.exe. I am using a PXA255
Xscale, CE.NET 4.1 embedded device (Casio IT-500 or DT-X10) and when I
originally installed the add on utilities everything worked fine. At
some point though (and I don't remember anything strange happening) it
started refusing to deploy to any of my devices whether using
ActiveSync or TCP. My current problem with SDAuthUtilDevice is:

I run the client side utility and then the tool in VS.NET 2003 as
instructed in the readme. I then get a message saying "Unknown error
while prepping device!" and it complains that it cannnot find
PubKey.blb on my PC. When I check the device, I notice that PubKey.blb
has been created in the root but is zero bytes. I can ping in both
directions and I can ActiveSync over the LAN connection so I think the
network side of it is fine. I tried the tip above but to no avail.
I've returned the devices to out of the box condition and tested them
with 2 other VS.NET 2003 installations on other PCs with no problems.

I cannot deploy via ActiveSync from VS.NET 2003 either - I just get
the 'cannot establish connection' problem. I CAN deploy and debug over
ActiveSync from eVC++ 4.0 though. I've tried numerous suggestions to
fix this including a complete uninstall/reinstall of VS.NET 2003 (also
re-installed ActiveSync and ran the ProxyPorts.reg) but no luck.

Any suggestions appreciated.

AdeW

xim...@microsoft.com ("Ximing Zhou [MS]") wrote in message news:<5$awaMATD...@cpmsftngxa06.phx.gbl>...

Daniel Moth

unread,
Jul 23, 2003, 5:20:14 AM7/23/03
to
Hi

I tried the whole process that fails (as described in my original post) in
order to get ConManClient.exe, the cnmpt...dlls and the other files created
on the device...

I then run ConManClient on the device and it fails with error "Cannot find
ConmanClient (or one of its components). Make sure the path and filename are
correct and that all the required libraries are available"

So something is not getting created properly although I can see all the
relevant files on the device!

At the moment I am having to work of an SD card which takes away the nice
debugging capabilities of VS.NET...

May I ask you again to let us know *exactly* what keys/values are created in
the registry with this process? This will also help with the following
problem:
>>
The problem in a nutshell is that when connecting a CE device with VS.NET
and you then shutdown the device (at which stage the registry is not lost
but the file system is) then when you power the device up again no .NET app
(debug or release) will run. No exception, it just doesn't come up. Restore
the registry to 'virgin' state and its all good again...
<<

Cheers
Daniel


""Ximing Zhou [MS]"" <xim...@microsoft.com> wrote in message

news:5$awaMATD...@cpmsftngxa06.phx.gbl...

Ximing Zhou [MS]

unread,
Jul 24, 2003, 3:23:35 PM7/24/03
to
Daniel,

In your original post you stated that the same laptop/device worked in your
office. That means ConManClient.exe was able to run on the device. Is that
still the case? It seems to contradict to the decription in your latest
post below that running ConManClient.exe on the device failed. I am just
trying to understand the actual symptoms.

Ximing [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Daniel Moth" <dmo...@hotmail.com>
| References: <#S1bA$1MDHA...@tk2msftngp13.phx.gbl>
<eoSLahWO...@TK2MSFTNGP12.phx.gbl>
<RxU#crNRDH...@cpmsftngxa09.phx.gbl>

<Ox#vvUTSD...@tk2msftngp13.phx.gbl>
<5$awaMATD...@cpmsftngxa06.phx.gbl>


| Subject: Re: SmartDeviceAuthenticationUtility for CE device

| Date: Wed, 23 Jul 2003 10:20:14 +0100
| Lines: 219


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

| Message-ID: <ekSO$wPUDH...@TK2MSFTNGP11.phx.gbl>


| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: dsl-217-155-140-110.zen.co.uk 217.155.140.110

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

Daniel Moth

unread,
Jul 28, 2003, 5:43:21 AM7/28/03
to
Hi thank you for persisting with this...

You are right the same laptop and device work well together in the office...
Obviously when I pull the power from the device the file system is lost, so
at home I have to go thru the SDAuth..process to regenerate the ConManClient
and other files... So after the regeneration at home I get the errors
described previously...

If I run the conmanclient.exe on the device in the office I do get the
dialog with the 3 comboboxes: [TCP_CONNECT | TCP_ACCEPT], port, ip and the
CONNECT CANCEL buttons.... I guess this is the dialog you would have liked
me to see at home...which I don't and instead get the error box described in
my previous post...

Cheers
Daniel


""Ximing Zhou [MS]"" <xim...@microsoft.com> wrote in message

news:PdLhlkhU...@cpmsftngxa06.phx.gbl...

Daniel Moth

unread,
Aug 3, 2003, 1:33:29 PM8/3/03
to
OK worked around this one...

Introducing a hub and hence excluding the wireless card from the equation
seems to have solved it...
Have no clue why it didn't like the wireless connection at home when it has
no problem with it at the office...

Cheers
Daniel

PS If anybody finds out what are the registry settings that SDAuth
alters, please post them...much appreciated...


"Daniel Moth" <dmo...@hotmail.com> wrote in message

news:exfWS1OV...@tk2msftngp13.phx.gbl...

0 new messages