Sunday, 26 September 2021

Upgrading ConfigMgr site to 2107 - console error

I encountered this weird console error this week while upgrading a ConfigMgr site to version 2107. The site was working perfectly.


The prerequisite check had passed with one warning. "Configuration Manager requires at least .NET version 4.6.2, but recommends the latest version 4.8. A later version of Configuration Manager will require .NET version 4.8". 

This was just a warning for now so I continued with the upgrade and chose "Ignore any prerequisite check warnings and install and install this upgrade regardless of missing requirements".


I navigated through the wizard until I got to this screen. We always have to accept the license terms, right?


However, no matter what I tried, I couldn't check that box. I kept getting the dreaded "Microsoft.ConfigurationManagement has stopped working" error. "A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available."

The only options were to close the program or click Debug.


Debug wasn't very helpful and complained about an unhandled .Net exception. Clicking OK just closed the console.

I'd like to say that I solved a complicated .Net issue in order to upgrade the site 😉😉. However the workaround was pretty straightforward. I had been running the upgrade wizard directly on the primary site server. Switching to a remote console did the trick.


I was able to check the offending box to accept the license terms.......


.....and continue with the wizard to upgrade the site.

I hope this helps someone else who encounters this issue.

Until next time....





No comments:

Post a Comment