Solved

Issues deploying App to embedded device .NET Compact Framework error

Posted on 2016-08-23
1
75 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

726 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