64 bit version issue?

Post anything you want to discuss with others about the software.

64 bit version issue?

Postby ger21 » Wed Feb 28, 2018 1:27 am

After installing 1.2103 in a 64 bit OS, I wanted to go back to 1.2101 for testing.
After installing 1.2101, UCCNC will not run.
I'm guessing something gets changed when installing the 64 bit version that doesn't let you go back to the 32 bit versions?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: 64 bit version issue?

Postby cncdrive » Wed Feb 28, 2018 6:50 am

Gerry, it is because the app config file is there in the UCCNC folder.
It is the UCCNC.exe.config file which is required to be there now to let older plugins to run which plugins were compiled with .NET 2.0 and have code in different app domains,
and so the .NET 4.0 security policy does not allow those plugin .dlls to be loaded in by the .NET 4.0 UCCNC.exe without having a flag set in the app config file.
So, the UCCNC.exe.config file is installed there to tell the .NET 4.0 framework to allow these dlls to load.
But the app config file is also telling the .NET framework that the UCCNC application is using the 4.0 framework and when you installing the 1.2101 version back,
that installer does nothing with the app config file, because the 1.2101 release did not need this file, because that file was not needed.
So, the 1.2101 installer does not delete the app config file and that release relies on the .NET framework 2.0,
so the app config file is still there and when you try to run that UCCNC.exe then the app config file tells Windows to use the 4.0 version,
while the app was compiled with the 2.0 framework and so the app can't run with the 4.0 framework and so is why the immediate crash.

The simple solution is to manually delete the file UCCNC.exe.config from the UCCNC folder if you reinstalling an older than 1.2102 version and then the older version will run...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: 64 bit version issue?

Postby Derek » Wed Feb 28, 2018 10:51 am

One habit I've gotten into is doing a complete copy of the UCCNC folder before I install an update. If I want to roll back to the copy.
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Re: 64 bit version issue?

Postby cncdrive » Wed Feb 28, 2018 10:53 am

Or uninstall first, because the uninstallation will remove the app config file. :)
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 33 guests