PC Review


Reply
Thread Tools Rate Thread

Deployment error: "Unable to start program...", "Unable to load the CLR."

 
 
GD
Guest
Posts: n/a
 
      1st Jun 2006
Hi,

I am trying to deploy a simple CF 2.0 test application from VS.Net 2005
environment. It works fine in the emulator. However, when I deploy it to my
pocket pc (HP iPaq hx4700) using USB cable, it pops up an error:

"Unable to start program
'%CSIDL_PROGRAM_FILES%\DeviceApplication1\DeviceApplication1.exe'."

"Unable to load the CLR. The target device does not have a compatible
version of the CLR installed for the application you are attempting
debug......."

It actually deployed the excutable to the device. However, it doesn't run at
all.

I installed ActiveSync 4.1. The connection seems working fine.

Any idea?

Thanks.

GD


 
Reply With Quote
 
 
 
 
Lonifasiko
Guest
Posts: n/a
 
      2nd Jun 2006
Have you installed CF 2.0 in the device?

If you deploy from Visual Studio 2005, right click in the Project
select Properties and then "Devices" on the left hand side. Here be
sure you check the option saying "Deploy the latest version of the
Compact Framework (inclusing Service Packs)".

Else, deploy CF 2.0 manually into your device. You should find
"NETCFv2.ppc.armv4.cab" at
"C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce400\armv4"

Hope it helps.

 
Reply With Quote
 
GD
Guest
Posts: n/a
 
      2nd Jun 2006
After I rebooted my computer and reset the pocket PC, the error has gone.

Thanks.

GD

"Lonifasiko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Have you installed CF 2.0 in the device?
>
> If you deploy from Visual Studio 2005, right click in the Project
> select Properties and then "Devices" on the left hand side. Here be
> sure you check the option saying "Deploy the latest version of the
> Compact Framework (inclusing Service Packs)".
>
> Else, deploy CF 2.0 manually into your device. You should find
> "NETCFv2.ppc.armv4.cab" at
> "C:\Program Files\Microsoft Visual Studio
> 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce400\armv4"
>
> Hope it helps.
>



 
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
Unable to Start "srservice" Event Error 7023 "Access is Denied" Error 5 Sam Holbrook Windows XP Basics 5 22nd Apr 2005 02:17 AM
Error messages: "Winsck," "Status," and "Unable to open dialog" =?Utf-8?B?Sm9u?= Microsoft Windows 2000 0 17th Dec 2003 10:46 PM
Error messages: "Winsck," "Status," and "Unable to open dialog" =?Utf-8?B?Sm9u?= Microsoft Windows 2000 0 9th Nov 2003 06:16 AM
Error messages: "Winsck," "Status," and "Unable to open dialog" =?Utf-8?B?Sm9u?= Microsoft Windows 2000 0 28th Oct 2003 12:51 AM
Error messages: "Winsck," "Status," and "Unable to open dialog" =?Utf-8?B?Sm9u?= Microsoft Windows 2000 0 16th Oct 2003 03:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.