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

Lost device connection

1 view
Skip to first unread message

Fredrik Ryde

unread,
Mar 24, 2003, 5:05:08 AM3/24/03
to
Hi,

I have for some time now developed an application for an
Ipaq in Visual Studio .net and everything worked just
fine. But now VS can't find the device anymore, it just
says "Unable to connect to device"

The Ipaq syncs just fine with Active Sync so there is
nothing wrong with that connection.

Any ideas??

/Fred

John Laker

unread,
Mar 25, 2003, 5:13:10 AM3/25/03
to
Hi,
I faced a similar problem. May be it has got to do
something with the ActiveSync as in my case it could not
recognise the ActiveSync at all though I was able to sync
my desktop and device thru' serial cable. Just try
installing ActiveSync again.

Thanks,
Laker.

>.
>

Fredrik Ryde

unread,
Apr 8, 2003, 5:49:16 AM4/8/03
to
I have already reinstalled Active Sync.

Could you please send me the script that corrects the
registry problems. fredri...@futuresolutions.se

/Fred


>-----Original Message-----
>WAIT! Don't install Active Sync again! There is a
known probelm with
>uninstalling Active Sync causing a registry to be
cleared, while VS .NET
>2003 needs to use that registry to enable deployment and
debugging. If you
>ever need to make changes or upgrade Active Sync, then I
suggest you just
>install on top of the old installation rather than
running uninstall.
>
>Here is the typical troubleshooting list for
connectivity problems to
>Pocket PCs:
>
>1) You must have an active network connection on your
desktop/lapto in
>order to allow deploying to the device. The alternative
to a live network
>connection is to install a loopback adapter.
>
>2) Have you uninstalled Active Sync then installed
Active Sync? If so,
>then I'll send you a script to fix the registry problem.
>
>3) Have you rebooted the device recently?
>
>4) After you've tried all of the above steps, then there
is one final thing
>to try. It is a possiblity that the crypto key on the
device has become
>corrupt or out of sync with the crypto key on your
desktop. Try running
>DelCryptoKey.exe /out:UI on your device. Here are the
detailed
>instructions:
>
>Symptom: Deployment does not work with some Windows CE
4.1 devices that are
>equipped with some type of flash memory. A unique
symptom of this problem
>is that the deployment DOES work right after the image
is downloaded to the
>device but stops working after the first device reboot
without another
>image download. If the user downloads the image to the
device again, the
>deployment will start working again until the next
device reboot. When the
>problem happens, F5 or Ctrl-F5 leaves a file named
public.blb in the
>desktop's folder \Documents and
Settings\<UserName>\Local
>Settings\Application Data and also in the device's root
directory, but does
>not create file <UserName>.<MachineName>.blb (e.g.
johns.johnsmach2.blb) in
>device's \windows\NETCFKEYS folder. (When doing the
test, it is a good
>idea to clean up those files before the deployment to
make sure there are
>no leftovers from a previous operation.)
>
>Cause: ConMan creates a crypt key in the default
container on the device
>during the security "prepping". When the device
reboots, a half of the key
>that is stored in the file system is lost but the other
half is persisted
>in the flash memory. After the reboot, the key will
appear corrupt and can
>not be used or replaced. The calls to
CryptAcquireContext, one of the APIs
>used by ConMan in prepping will always fail.
>
>Workaround: Tool DelCryptoKeys.exe has been created to
delete the registry
>entries used by the crypt keys as a workaround. After
each device reboot,
>copy the tool to the device and run it before the first
VS deployment. The
>tool can be run in three different output modes:
>
> DelCryptoKey -- in silent mode
>
> DelCryptoKey /out:UI - showing the result in a
message box
>
> DelCryptoKey /out:<FileName> -- storing the result in
a file
>
>Error code 2 means the key did not exist, which is
fine. Error code 5
>usually means the VS deployment had already been
performed after the latest
>device reboot and another reboot is necessary.
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>--------------------
>| Content-Class: urn:content-classes:message
>| From: "John Laker" <la...@earthlink.net>
>| Sender: "John Laker" <la...@earthlink.net>
>| References: <394201c2f1ec$d9967f90$3001...@phx.gbl>
>| Subject: Lost device connection
>| Date: Tue, 25 Mar 2003 02:13:10 -0800
>| Lines: 26
>| Message-ID: <39f801c2f2b7$23832750$a001...@phx.gbl>
>| MIME-Version: 1.0
>| Content-Type: text/plain;
>| charset="iso-8859-1"
>| Content-Transfer-Encoding: 7bit
>| X-Newsreader: Microsoft CDO for Windows 2000
>| Thread-Index: AcLytyOD1RMq0cd5TEmKaTir66UMtg==
>| X-MimeOLE: Produced By Microsoft MimeOLE
V5.50.4910.0300
>| Newsgroups:
microsoft.public.dotnet.framework.compactframework
>| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
>| Path: cpmsftngxa08.phx.gbl!cpmsftngxa06
>| Xref: cpmsftngxa08.phx.gbl
>microsoft.public.dotnet.framework.compactframework:19694
>| X-Tomcat-NG:
microsoft.public.dotnet.framework.compactframework

Roger

unread,
Apr 15, 2003, 5:55:21 AM4/15/03
to
Or better yet, post the script here - I may have the same problem.

Thanks!
Roger

"Fredrik Ryde" <fredri...@futuresolutions.se> wrote in message news:<04d401c2fdb4$1e6dd410$a301...@phx.gbl>...

0 new messages