VS 2005 - Problems deploying C# executable to target

E

eran

I have tried everything I could find in this and other forums.
I've developed a simple application in VS 2005, but when trying to
deploy it to my device (ARM4VI based, CE6.0) I always get "Unable to
load the CLR error" Checking and unchecking the "deploy the latest
version of .NET compact framework" doesn't seem to help.
I have copied to target and executed "NETCFv2.wce5.armv4i.cab", but
got an error.
Here is the LOG file content:

01/01/2006 12:05:37: Entered Install_Init().
First Call: Yes
Previously Installed: No
Installation folder is: '\Windows'.
01/01/2006 12:05:37: Build 2.0.7045.00 created on Feb 13 2007 at
22:23:41
01/01/2006 12:05:37: Device CPU: 'ARMV4I', 05020000 (84017152)
01/01/2006 12:05:37: 6.00
01/01/2006 12:05:37: AKU string : ''
01/01/2006 12:05:37: OEM info : 'VR35'
01/01/2006 12:05:37: Our trust level is: 2
01/01/2006 12:05:37: User LCID: 1033
01/01/2006 12:05:37: System LCID: 1033
01/01/2006 12:05:37: Invoker's command line: '/noui \Windows
\NETCFV2.wce5.armv4i.cab'
01/01/2006 12:05:37: Memory status, K --------------------------
01/01/2006 12:05:37: Load : 27
01/01/2006 12:05:37: Physical : 55864
01/01/2006 12:05:37: Physical free : 41160
01/01/2006 12:05:37: Virtual : 1048576
01/01/2006 12:05:37: Virtual free : 1047936
01/01/2006 12:05:37: Storage status, K -------------------------
01/01/2006 12:05:37: Available to us: 49716
01/01/2006 12:05:37: Total storage : 55768
01/01/2006 12:05:37: Available total: 49716
01/01/2006 12:05:37: -------------------------------------------
01/01/2006 12:05:37: About to process registry.
01/01/2006 12:05:37: Created CF registry key OK.
01/01/2006 12:05:37: Looking for upgradeable installations for version
'2.0.7045.00'
01/01/2006 12:05:37: Added new CF version value '2.0.7045.00'.
01/01/2006 12:05:37: CF registry key closed.
01/01/2006 12:05:38: Entered Install_Exit().
Failed Dirs: 0
Failed Files: 0
Failed RegKeys: 0
Failed RegVals: 0
Failed Shortcuts: 0
01/01/2006 12:05:38: Memory status, K --------------------------
01/01/2006 12:05:38: Load : 27
01/01/2006 12:05:38: Physical : 55864
01/01/2006 12:05:38: Physical free : 41156
01/01/2006 12:05:38: Virtual : 1048576
01/01/2006 12:05:38: Virtual free : 1047936
01/01/2006 12:05:38: Storage status, K -------------------------
01/01/2006 12:05:38: Available to us: 49716
01/01/2006 12:05:38: Total storage : 55768
01/01/2006 12:05:38: Available total: 49716
01/01/2006 12:05:38: -------------------------------------------
01/01/2006 12:05:38: About to verify reference count.
01/01/2006 12:05:38: 6.00
01/01/2006 12:05:38: About to process alternative files.
01/01/2006 12:05:38: 6.00
01/01/2006 12:05:38: Processing alternative file: '\Windows\.NET CF
2.0\cgacutil.exe.-500~-500~ARMV4I'.
01/01/2006 12:05:38: Special file extension: '.-500~-500~ARMV4I'.
01/01/2006 12:05:38: File is intended for OS: -500 to -500, CPU:
ARMV4I
01/01/2006 12:05:38: Device CPU: 'ARMV4I', 05020000 (84017152)
01/01/2006 12:05:38: CPU matches.
01/01/2006 12:05:38: Version MIN ignored.
01/01/2006 12:05:38: Version MAX ignored.
01/01/2006 12:05:38: Querying version of file '\Windows\.NET CF
2.0\cgacutil.exe.-500~-500~ARMV4I'.
01/01/2006 12:05:38: Version determined to be: 2.0.7045.0.
01/01/2006 12:05:38: Get version completed.
01/01/2006 12:05:38: Querying version of file '\Windows
\cgacutil.exe'.
01/01/2006 12:05:38: Version determined to be: 2.0.7045.0.
01/01/2006 12:05:38: Get version completed.
01/01/2006 12:05:38: Suggestion: overwrite.
01/01/2006 12:05:38: Copy file from '\Windows\.NET CF
2.0\cgacutil.exe.-500~-500~ARMV4I' to '\Windows\cgacutil.exe': done.
01/01/2006 12:05:38: Delete file '\Windows\.NET CF
2.0\cgacutil.exe.-500~-500~ARMV4I': done.
01/01/2006 12:05:38: Processing alternative file: '\Windows\.NET CF
2.0\mscoree.dll.-500~-500~ARMV4I'.
01/01/2006 12:05:38: Special file extension: '.-500~-500~ARMV4I'.
01/01/2006 12:05:38: File is intended for OS: -500 to -500, CPU:
ARMV4I
01/01/2006 12:05:38: Device CPU: 'ARMV4I', 05020000 (84017152)
01/01/2006 12:05:38: CPU matches.
01/01/2006 12:05:38: Version MIN ignored.
01/01/2006 12:05:38: Version MAX ignored.
01/01/2006 12:05:38: Querying version of file '\Windows\.NET CF
2.0\mscoree.dll.-500~-500~ARMV4I'.
01/01/2006 12:05:38: Version determined to be: 2.0.7045.0.
01/01/2006 12:05:38: Get version completed.
01/01/2006 12:05:38: Querying version of file '\Windows\mscoree.dll'.
01/01/2006 12:05:38: Version determined to be: 2.0.7045.0.
01/01/2006 12:05:38: Get version completed.
01/01/2006 12:05:38: Suggestion: overwrite.
01/01/2006 12:05:38: Copy file from '\Windows\.NET CF
2.0\mscoree.dll.-500~-500~ARMV4I' to '\Windows\mscoree.dll': done.
01/01/2006 12:05:38: Delete file '\Windows\.NET CF
2.0\mscoree.dll.-500~-500~ARMV4I': done.
01/01/2006 12:05:38: Attempting to remove old files from GAC.
01/01/2006 12:05:38: Delete GAC list file: failure
01/01/2006 12:05:38: Run: '\Windows\cgacutil.exe /silent /refresh ',
error code: 0 (00000000), exit code: -2147483648 (80000000)
01/01/2006 12:05:38: Refreshed GAC.
01/01/2006 12:05:38: About to add files to the GAC.
01/01/2006 12:05:38: GAC list file opened.
01/01/2006 12:05:38: Writing UTF8 signature: done.
01/01/2006 12:05:38: Adding file 'mscorlib.dll': added.
01/01/2006 12:05:38: Adding file 'system.dll': added.
01/01/2006 12:05:38: Adding file 'system.drawing.dll': added.
01/01/2006 12:05:38: Adding file 'system.messaging.dll': added.
01/01/2006 12:05:38: Adding file 'system.web.services.dll': added.
01/01/2006 12:05:38: Adding file 'system.windows.forms.dll': added.
01/01/2006 12:05:38: Adding file 'system.windows.forms.datagrid.dll':
added.
01/01/2006 12:05:38: Adding file 'system.xml.dll': added.
01/01/2006 12:05:38: Adding file 'system.net.irda.dll': added.
01/01/2006 12:05:38: Adding file 'system.data.dll': added.
01/01/2006 12:05:38: Adding file 'microsoft.visualbasic.dll': added.
01/01/2006 12:05:38: Adding file 'microsoft.windowsce.forms.dll':
added.
01/01/2006 12:05:38: Adding file
'Microsoft.WindowsMobile.DirectX.dll': added.
01/01/2006 12:05:38: Adding file 'CustomMarshalers.dll': added.
01/01/2006 12:05:38: Closed list file.
01/01/2006 12:05:38: Run: '\Windows\cgacutil.exe /silent /id \Windows
\Microsoft .NET CF 2.0.GAC', error code: 0 (00000000), exit code:
-2147483648 (80000000)
01/01/2006 12:05:38: GACing: failed.
01/01/2006 12:05:38: Unable to add files to GAC. Installation aborted.
01/01/2006 12:05:38: Memory status, K --------------------------
01/01/2006 12:05:38: Load : 27
01/01/2006 12:05:38: Physical : 55864
01/01/2006 12:05:38: Physical free : 41136
01/01/2006 12:05:38: Virtual : 1048576
01/01/2006 12:05:38: Virtual free : 1047936
01/01/2006 12:05:38: Storage status, K -------------------------
01/01/2006 12:05:38: Available to us: 49792
01/01/2006 12:05:38: Total storage : 55768
01/01/2006 12:05:38: Available total: 49792
01/01/2006 12:05:38: -------------------------------------------
01/01/2006 12:05:38: Entered Uninstall_Init().
Installation folder is: '\Windows'.
.......................
.......................
........................


Can anyone assist?


Thanks
 

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