Solved

Issues deploying App to embedded device .NET Compact Framework error

Posted on 2016-08-23
1
41 Views
Last Modified: 2016-08-26
We have a developer who has made and tested an app for a Motorola MC55A device running Windows Embedded 6.5 Classic.  It had been running fine up until they recently tried to install a later version of the app and then the device threw up what appears to be a .NET versioning error (see screenshot attached), installation log shown below.

Looking at the installed version of .NET Compact Framework on the developers machine it appears that they’re using 3.5.7283.00, however as can be seen below the device is using the newer 3.5.9085.00.  Therefore the first thing we did was look for a more up-to-date version for their machine, but after some pretty extensive searching we were only able to find the 3.5 redistributable on the MS website (https://www.microsoft.com/en-gb/download/details.aspx?id=65).  The problem we found was that this version is the 3.5.7283.00 build, which they already had installed.

How do we update the developers machine to a later build of the Compact Framework so that it matches the version on the device?  If this is a red herring has anyone any idea as to why the device will no longer install a updated version of the app which has already been working?

19/08/2016 12:39:21: Entered Install_Init().
                First Call: Yes
                Previously Installed: No
                Installation folder is: '\Windows'.
19/08/2016 12:39:21: Build 3.5.7283.00 created on Oct 10 2007 at 19:01:22
19/08/2016 12:39:21: Device CPU: 'ARMV4I', 05020000 (84017152)
19/08/2016 12:39:21: PocketPC 5.02
19/08/2016 12:39:22: AKU string : '.5.3.12.40'
19/08/2016 12:39:22: OEM info   : 'MOTOROLA MC55A'
19/08/2016 12:39:22: Our trust level is: 2
19/08/2016 12:39:22: User   LCID: 2057
19/08/2016 12:39:22: System LCID: 2057
19/08/2016 12:39:22: Invoker's command line: '0xeb764dbe-0'
19/08/2016 12:39:22: Memory status, K --------------------------
19/08/2016 12:39:22:   Load           : 32
19/08/2016 12:39:22:   Physical       : 238312
19/08/2016 12:39:22:   Physical free  : 163212
19/08/2016 12:39:22:   Virtual        : 32768
19/08/2016 12:39:22:   Virtual free   : 29184
19/08/2016 12:39:22: Storage status, K -------------------------
19/08/2016 12:39:22:   Available to us: 658792
19/08/2016 12:39:22:   Total storage  : 732708
19/08/2016 12:39:22:   Available total: 658792
19/08/2016 12:39:22: -------------------------------------------
19/08/2016 12:39:22: About to process registry.
19/08/2016 12:39:22: Opened CF registry key OK.
19/08/2016 12:39:22: Looking for upgradeable installations for version '3.5.7283.00'
19/08/2016 12:39:22: Got version value '3.5.9085.00'
19/08/2016 12:39:22: Upgradeable installation '3.5.9085.00' detected.
19/08/2016 12:39:22: Downgrade attempt detected as newer version '3.5.9085.00' has been found in ROM.
19/08/2016 12:39:22: Record '3.5.9085.00' preserved because this version is in ROM.
19/08/2016 12:39:22: CF registry key closed.
19/08/2016 12:39:22: Installation can't continue as newer version detected.
.NET-error-on-device.JPG
0
Comment
Question by:peterseychelles
1 Comment
 

Accepted Solution

by:
peterseychelles earned 0 total points
Comment Utility
Apparently it turns out that when .NET automatically generates a WCF config file for a project it adds the below line to it.  Rather than it using the framework the project was built in, it uses the highest installed version on the machine, in this case 4.5.1.  Removing or amending the startup tag to the correct version results in no error.

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/>

Whilst this has solved the immediate problem I wonder if anyone knows how to update the .NET compact framework?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now