PC Review


Reply
Thread Tools Rate Thread

Can deploy but cannot debug on CE 4.1 device

 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      12th Nov 2003
Alright, so the problem seems to have returned. Using a very simple "hello
world" app, the Studio will push a binary down to the device but will not
launch the debugger.

Of course the customer has been debugging for weeks now without problem, but
for some reason it no longer works. The following actions have not fixed
the problem:

- Reboot the PC
- Hard reset the CE device
- Delete the persistent CE registry
- Run DelCryptoKeys on both ends
- Import proxyports.reg

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net



 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      12th Nov 2003
As an added piece of information, when deploying the app, Studio gives a
warning that the CF on the device is *newer* than the CF on the PC. I'm not
sure how this is possible. The CF on the device is the standard RTM from
Platform Builder, and there is no QFE to put CFSP1 on a CE 4.1 device (only
4.2). The customer is using the standard Studio installed CF, which is also
supposed to be the RTM. What's going on there?

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Alright, so the problem seems to have returned. Using a very simple

"hello
> world" app, the Studio will push a binary down to the device but will not
> launch the debugger.
>
> Of course the customer has been debugging for weeks now without problem,

but
> for some reason it no longer works. The following actions have not fixed
> the problem:
>
> - Reboot the PC
> - Hard reset the CE device
> - Delete the persistent CE registry
> - Run DelCryptoKeys on both ends
> - Import proxyports.reg
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
>



 
Reply With Quote
 
Ximing Zhou [MSFT]
Guest
Posts: n/a
 
      13th Nov 2003
Has the existence of toolhelp.dll on device been verified?

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Chris Tacke, eMVP" <(E-Mail Removed)>
| References: <(E-Mail Removed)>
| Subject: Re: Can deploy but cannot debug on CE 4.1 device
| Date: Wed, 12 Nov 2003 13:45:43 -0500
| Lines: 48
| 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: <(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: nat2.applieddata.net 64.72.200.61
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:38402
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| As an added piece of information, when deploying the app, Studio gives a
| warning that the CF on the device is *newer* than the CF on the PC. I'm
not
| sure how this is possible. The CF on the device is the standard RTM from
| Platform Builder, and there is no QFE to put CFSP1 on a CE 4.1 device
(only
| 4.2). The customer is using the standard Studio installed CF, which is
also
| supposed to be the RTM. What's going on there?
|
| --
| Chris Tacke, eMVP
| Co-Founder and Advisory Board Member
| www.OpenNETCF.org
| ---
| Windows CE Product Manager
| Applied Data Systems
| www.applieddata.net
|
|
| "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
| news:(E-Mail Removed)...
| > Alright, so the problem seems to have returned. Using a very simple
| "hello
| > world" app, the Studio will push a binary down to the device but will
not
| > launch the debugger.
| >
| > Of course the customer has been debugging for weeks now without problem,
| but
| > for some reason it no longer works. The following actions have not
fixed
| > the problem:
| >
| > - Reboot the PC
| > - Hard reset the CE device
| > - Delete the persistent CE registry
| > - Run DelCryptoKeys on both ends
| > - Import proxyports.reg
| >
| > --
| > Chris Tacke, eMVP
| > Co-Founder and Advisory Board Member
| > www.OpenNETCF.org
| > ---
| > Windows CE Product Manager
| > Applied Data Systems
| > www.applieddata.net
| >
| >
| >
|
|
|

 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      13th Nov 2003
Yes, toolhelp.dll exists on the device. The customer claims that the CE
image itself is unchanged, and it was working previously. The problem
exists when using USB and ConMan for connecting.

I walked him through using SDAuthUtil over ethernet and that seems to work,
but understanding why ConMan won't work would be useful.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


""Ximing Zhou [MSFT]"" <(E-Mail Removed)> wrote in message
newswS%(E-Mail Removed)...
> Has the existence of toolhelp.dll on device been verified?
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> --------------------
> | From: "Chris Tacke, eMVP" <(E-Mail Removed)>
> | References: <(E-Mail Removed)>
> | Subject: Re: Can deploy but cannot debug on CE 4.1 device
> | Date: Wed, 12 Nov 2003 13:45:43 -0500
> | Lines: 48
> | 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: <(E-Mail Removed)>
> | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | NNTP-Posting-Host: nat2.applieddata.net 64.72.200.61
> | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
> | Xref: cpmsftngxa06.phx.gbl
> microsoft.public.dotnet.framework.compactframework:38402
> | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> |
> | As an added piece of information, when deploying the app, Studio gives a
> | warning that the CF on the device is *newer* than the CF on the PC. I'm
> not
> | sure how this is possible. The CF on the device is the standard RTM

from
> | Platform Builder, and there is no QFE to put CFSP1 on a CE 4.1 device
> (only
> | 4.2). The customer is using the standard Studio installed CF, which is
> also
> | supposed to be the RTM. What's going on there?
> |
> | --
> | Chris Tacke, eMVP
> | Co-Founder and Advisory Board Member
> | www.OpenNETCF.org
> | ---
> | Windows CE Product Manager
> | Applied Data Systems
> | www.applieddata.net
> |
> |
> | "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> | news:(E-Mail Removed)...
> | > Alright, so the problem seems to have returned. Using a very simple
> | "hello
> | > world" app, the Studio will push a binary down to the device but will
> not
> | > launch the debugger.
> | >
> | > Of course the customer has been debugging for weeks now without

problem,
> | but
> | > for some reason it no longer works. The following actions have not
> fixed
> | > the problem:
> | >
> | > - Reboot the PC
> | > - Hard reset the CE device
> | > - Delete the persistent CE registry
> | > - Run DelCryptoKeys on both ends
> | > - Import proxyports.reg
> | >
> | > --
> | > Chris Tacke, eMVP
> | > Co-Founder and Advisory Board Member
> | > www.OpenNETCF.org
> | > ---
> | > Windows CE Product Manager
> | > Applied Data Systems
> | > www.applieddata.net
> | >
> | >
> | >
> |
> |
> |
>



 
Reply With Quote
 
Chris P
Guest
Posts: n/a
 
      13th Nov 2003
I have this problem very often. They I get around it is to change the proj
properties to NO DEBUG, save the properties, then switch the properties back
to DEBUG. This seems to work for us.


"Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yes, toolhelp.dll exists on the device. The customer claims that the CE
> image itself is unchanged, and it was working previously. The problem
> exists when using USB and ConMan for connecting.
>
> I walked him through using SDAuthUtil over ethernet and that seems to

work,
> but understanding why ConMan won't work would be useful.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
> ""Ximing Zhou [MSFT]"" <(E-Mail Removed)> wrote in message
> newswS%(E-Mail Removed)...
> > Has the existence of toolhelp.dll on device been verified?
> >
> > This posting is provided "AS IS" with no warranties, and confers no

> rights.
> > --------------------
> > | From: "Chris Tacke, eMVP" <(E-Mail Removed)>
> > | References: <(E-Mail Removed)>
> > | Subject: Re: Can deploy but cannot debug on CE 4.1 device
> > | Date: Wed, 12 Nov 2003 13:45:43 -0500
> > | Lines: 48
> > | 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: <(E-Mail Removed)>
> > | Newsgroups: microsoft.public.dotnet.framework.compactframework
> > | NNTP-Posting-Host: nat2.applieddata.net 64.72.200.61
> > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
> > | Xref: cpmsftngxa06.phx.gbl
> > microsoft.public.dotnet.framework.compactframework:38402
> > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> > |
> > | As an added piece of information, when deploying the app, Studio gives

a
> > | warning that the CF on the device is *newer* than the CF on the PC.

I'm
> > not
> > | sure how this is possible. The CF on the device is the standard RTM

> from
> > | Platform Builder, and there is no QFE to put CFSP1 on a CE 4.1 device
> > (only
> > | 4.2). The customer is using the standard Studio installed CF, which

is
> > also
> > | supposed to be the RTM. What's going on there?
> > |
> > | --
> > | Chris Tacke, eMVP
> > | Co-Founder and Advisory Board Member
> > | www.OpenNETCF.org
> > | ---
> > | Windows CE Product Manager
> > | Applied Data Systems
> > | www.applieddata.net
> > |
> > |
> > | "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > | news:(E-Mail Removed)...
> > | > Alright, so the problem seems to have returned. Using a very simple
> > | "hello
> > | > world" app, the Studio will push a binary down to the device but

will
> > not
> > | > launch the debugger.
> > | >
> > | > Of course the customer has been debugging for weeks now without

> problem,
> > | but
> > | > for some reason it no longer works. The following actions have not
> > fixed
> > | > the problem:
> > | >
> > | > - Reboot the PC
> > | > - Hard reset the CE device
> > | > - Delete the persistent CE registry
> > | > - Run DelCryptoKeys on both ends
> > | > - Import proxyports.reg
> > | >
> > | > --
> > | > Chris Tacke, eMVP
> > | > Co-Founder and Advisory Board Member
> > | > www.OpenNETCF.org
> > | > ---
> > | > Windows CE Product Manager
> > | > Applied Data Systems
> > | > www.applieddata.net
> > | >
> > | >
> > | >
> > |
> > |
> > |
> >

>
>



 
Reply With Quote
 
Ximing Zhou [MSFT]
Guest
Posts: n/a
 
      14th Nov 2003
If nothing has changed on device, it is likely something has changed on PC
(Visual Studio machine). Otherwise the message of CF newer on device does
not make sense. My suggestion is
1. Check the dlls in <VSInstallDir>\CompactFrameworkSDK\v1.0.5000\Windows
CE\ and the corresponding netcf cab in one of the CPU directories. See if
there is anything suspicious, e.g. older timestamps.
2. Delete all the xsl files from \Documents and
Settings\<CurrentUser>\Local Settings\Application
Data\Microsoft\visualstudio\devices\7.1\. Restart VS and open a device
project to regenerate those files.

If nothing is found, I'd suggest they uninstall SDE and reinstall it.
Cleaning the xsl files and the CompactFrameworkSDK tree before the
reinstall.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Chris P" <(E-Mail Removed)>
| References: <(E-Mail Removed)>
<(E-Mail Removed)>
<DwS#(E-Mail Removed)>
<(E-Mail Removed)>
| Subject: Re: Can deploy but cannot debug on CE 4.1 device
| Date: Thu, 13 Nov 2003 12:42:41 -0500
| Lines: 114
| 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: <(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 12.41.171.130
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:38516
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I have this problem very often. They I get around it is to change the
proj
| properties to NO DEBUG, save the properties, then switch the properties
back
| to DEBUG. This seems to work for us.
|
|
| "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
| news:(E-Mail Removed)...
| > Yes, toolhelp.dll exists on the device. The customer claims that the CE
| > image itself is unchanged, and it was working previously. The problem
| > exists when using USB and ConMan for connecting.
| >
| > I walked him through using SDAuthUtil over ethernet and that seems to
| work,
| > but understanding why ConMan won't work would be useful.
| >
| > --
| > Chris Tacke, eMVP
| > Co-Founder and Advisory Board Member
| > www.OpenNETCF.org
| > ---
| > Windows CE Product Manager
| > Applied Data Systems
| > www.applieddata.net
| >
| >
| > ""Ximing Zhou [MSFT]"" <(E-Mail Removed)> wrote in message
| > newswS%(E-Mail Removed)...
| > > Has the existence of toolhelp.dll on device been verified?
| > >
| > > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| > > --------------------
| > > | From: "Chris Tacke, eMVP" <(E-Mail Removed)>
| > > | References: <(E-Mail Removed)>
| > > | Subject: Re: Can deploy but cannot debug on CE 4.1 device
| > > | Date: Wed, 12 Nov 2003 13:45:43 -0500
| > > | Lines: 48
| > > | 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: <(E-Mail Removed)>
| > > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > > | NNTP-Posting-Host: nat2.applieddata.net 64.72.200.61
| > > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > > | Xref: cpmsftngxa06.phx.gbl
| > > microsoft.public.dotnet.framework.compactframework:38402
| > > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > > |
| > > | As an added piece of information, when deploying the app, Studio
gives
| a
| > > | warning that the CF on the device is *newer* than the CF on the PC.
| I'm
| > > not
| > > | sure how this is possible. The CF on the device is the standard RTM
| > from
| > > | Platform Builder, and there is no QFE to put CFSP1 on a CE 4.1
device
| > > (only
| > > | 4.2). The customer is using the standard Studio installed CF, which
| is
| > > also
| > > | supposed to be the RTM. What's going on there?
| > > |
| > > | --
| > > | Chris Tacke, eMVP
| > > | Co-Founder and Advisory Board Member
| > > | www.OpenNETCF.org
| > > | ---
| > > | Windows CE Product Manager
| > > | Applied Data Systems
| > > | www.applieddata.net
| > > |
| > > |
| > > | "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
| > > | news:(E-Mail Removed)...
| > > | > Alright, so the problem seems to have returned. Using a very
simple
| > > | "hello
| > > | > world" app, the Studio will push a binary down to the device but
| will
| > > not
| > > | > launch the debugger.
| > > | >
| > > | > Of course the customer has been debugging for weeks now without
| > problem,
| > > | but
| > > | > for some reason it no longer works. The following actions have
not
| > > fixed
| > > | > the problem:
| > > | >
| > > | > - Reboot the PC
| > > | > - Hard reset the CE device
| > > | > - Delete the persistent CE registry
| > > | > - Run DelCryptoKeys on both ends
| > > | > - Import proxyports.reg
| > > | >
| > > | > --
| > > | > Chris Tacke, eMVP
| > > | > Co-Founder and Advisory Board Member
| > > | > www.OpenNETCF.org
| > > | > ---
| > > | > Windows CE Product Manager
| > > | > Applied Data Systems
| > > | > www.applieddata.net
| > > | >
| > > | >
| > > | >
| > > |
| > > |
| > > |
| > >
| >
| >
|
|
|

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot deploy to device or debug in emulator Abe Froman Microsoft Dot NET Compact Framework 0 8th Mar 2006 07:38 PM
Re: Debug web app project always build and deploy smart device applica Alex Feinman [MVP] Microsoft Dot NET Compact Framework 0 22nd Sep 2004 01:51 AM
Debug web app project always build and deploy smart device applica =?Utf-8?B?RXJpYyBQYXQ=?= Microsoft Dot NET Compact Framework 0 21st Sep 2004 04:43 PM
deploy(download) and debug a .NET application on a CE device Rosalind Chen Microsoft Dot NET Compact Framework 10 25th Feb 2004 04:19 PM
can deploy, can't debug A.User Microsoft Dot NET Compact Framework 4 20th Nov 2003 03:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.