Solved

Issues deploying App to embedded device .NET Compact Framework error

Posted on 2016-08-23
1
65 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
ID: 41766947
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 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