Cannot debug on device

D

dotnetshannon

I can successfully deploy (Ctrl + F5) an application via Visual Studio
..NET 2003 after running ProxyPorts.reg and DelDesktopCryptKey on my
computer and DelCryptoKey on my Windows CE 4.2 device.

However, I cannot debug (F5) an application on my device. I receive
the following error:

Error while trying to run project: Unable to start debugging.
Unable to start program 'C:\<Path to EXE>'.

My device does have an x86 processor and I have imported
WinCEx86Device.reg, which did not work. In order to deploy
applications from Visual Studio I have to import ProxyPorts.reg.
Importing WinCEx86Device.reg by itself will not suffice.

Any help would be greatly appreciated.
 
P

Paul G. Tobey [eMVP]

Have you gone through the steps that have been posted a number of times
before for connecting to a Windows CE device via Ethernet? You can search
the archives of this group here:

http://groups.google.com/group/micr...tframework?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8

Have you installed the Windows CE Tools for Visual Studio .NET 2003? Have
you then used the Windows CE processor tool to select x86, since that's what
your device has? Have you used the Smart Device Authentication tool to
establish a network connection? Does the device have its OS built with
toolhelp.dll in it?

Paul T.
 
D

dotnetshannon

I'm connecting to my CE device via serial. I've read numerous posts on
this issue and have done the following:

Reinstalled ActiveSync 3.8 many times
Installed the Windows CE Utilities
Ran DelDesktopCryptKey and DelCryptoKey
Imported ProxyPorts.reg and WinCEx86Device.reg
Verified toolhelp.dll exists in my image
Selected x86 as the processor in VS.NET 2003

I can deploy, however cannot debug from VS.NET 2003. The error message
I receive is listed in my first post. I thought the SDAuthUtil was
only used when you're connecting over ethernet? Thanks for the reply.
 
D

dotnetshannon

I'm connecting to my CE device via serial. I've read numerous posts on
this issue and have done the following:

Reinstalled ActiveSync 3.8 many times
Installed the Windows CE Utilities
Ran DelDesktopCryptKey and DelCryptoKey
Imported ProxyPorts.reg and WinCEx86Device.reg
Verified toolhelp.dll exists in my image
Selected x86 as the processor in VS.NET 2003

I can deploy, however cannot debug from VS.NET 2003. The error message
I receive is listed in my first post. I thought the SDAuthUtil was
only used when you're connecting over ethernet? Thanks for the reply.
 
P

Paul G. Tobey [eMVP]

Yes, SDAuthUtil is only for Ethernet deploy/debug.

The only other thing that I see is that maybe you've set a property of your
project that is telling VS.NET to run the EXE locally, rather than on the
remote device or is associating a desktop path with the EXE on the device,
which obviously won't work. You might try building a new Smart Device
Application for Windows CE.NET and deploying/debugging that, with no changes
to any settings, to see if it will work. You might also try changing the
target to the Windows CE.NET emulator, to see if you can debug there.

Other than that, there's always the search of the archives...

Paul T.
 

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