[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Issues deploying App to embedded device .NET Compact Framework error

Posted on 2016-08-23
1
Medium Priority
?
89 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

649 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