Solved

Issues deploying App to embedded device .NET Compact Framework error

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 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