Upgrade from Win8.1 failed - .NET exception on launch
-
- Posts: 6
- Joined: Wed Nov 30, 2022 8:20 pm
- Location:
- HTPC Specs:
Upgrade from Win8.1 failed - .NET exception on launch
I'm trying to upgrade my existing Win8.1 Media Center to Windows 10, doing an in-place upgrade of the OS (using a 22H2 install USB created using the Media Creator Tool) and then installing Gary's WMC MSI package (8.9.0). The MSI appears to have installed successfully, but attempting to run WMC fails - it shows a very brief busy icon, then the "ehshell.exe" process terminates. The application log shows a .NET exception as below. I've tried uninstalling and reinstalling the MSI, with the same results.
Is an upgrade from Win8.1 expected to work, is it fundamentally a bad idea, or are there extra steps that need to be performed for this compared to a clean install of Win10?
Massive thanks to everyone in the community for all their efforts to keep WMC working after MS cruelly abandoned such a well-loved product - I've been using it since 2005, and really don't want to have to find an alternative solution!
Application: ehshell.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at MediaCenter.Store.SqlLite.SqlLiteErr.LogAndThrowException(Int32, System.String, System.Object[])
at MediaCenter.Store.SqlLite.ObjectStore.Open(System.String)
at MediaCenter.Store.SqlLite.ObjectStoreManager.Open(System.String, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, System.Reflection.Assembly, Boolean)
Exception Info: System.InvalidOperationException
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, System.Reflection.Assembly, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.AddObjectStoreReference()
at Microsoft.MediaCenter.Store.ObjectStore.get_DefaultSingleton()
at ServiceBus.UIFramework.UserControlPoint.Launch(System.String)
Is an upgrade from Win8.1 expected to work, is it fundamentally a bad idea, or are there extra steps that need to be performed for this compared to a clean install of Win10?
Massive thanks to everyone in the community for all their efforts to keep WMC working after MS cruelly abandoned such a well-loved product - I've been using it since 2005, and really don't want to have to find an alternative solution!
Application: ehshell.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at MediaCenter.Store.SqlLite.SqlLiteErr.LogAndThrowException(Int32, System.String, System.Object[])
at MediaCenter.Store.SqlLite.ObjectStore.Open(System.String)
at MediaCenter.Store.SqlLite.ObjectStoreManager.Open(System.String, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, System.Reflection.Assembly, Boolean)
Exception Info: System.InvalidOperationException
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, System.Reflection.Assembly, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.Open(System.String, System.String, System.String, Boolean)
at Microsoft.MediaCenter.Store.ObjectStore.AddObjectStoreReference()
at Microsoft.MediaCenter.Store.ObjectStore.get_DefaultSingleton()
at ServiceBus.UIFramework.UserControlPoint.Launch(System.String)
- garyan2
- Posts: 7438
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
I never tried the install in this scenario. I suppose it is possible that this is tricking the msi into thinking the OS is still 8.1 and then does not apply the sql fixes for Win10.
You could uninstall the msi, find the install for 8.8.5 and install that. If it works, then that is probably the problem. You can keep 8.8.5, or if you want the msi instead, you will need to uninstall 8.8.5, reboot, and then install the msi again. I think it should be okay after that.
You could uninstall the msi, find the install for 8.8.5 and install that. If it works, then that is probably the problem. You can keep 8.8.5, or if you want the msi instead, you will need to uninstall 8.8.5, reboot, and then install the msi again. I think it should be okay after that.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 963
- Joined: Thu Sep 10, 2015 4:10 pm
- Location: West Midlands
- HTPC Specs:
Agree this seems like SQLITE is missing.
WMC Multi Tool would fix that easily.
If only some kind person would host it somewhere.
WMC Multi Tool would fix that easily.
If only some kind person would host it somewhere.
-
- Posts: 6
- Joined: Wed Nov 30, 2022 8:20 pm
- Location:
- HTPC Specs:
Thanks to both for the suggestions. I'll do some more investigation when I have a bit more time at the weekend; I guessed it might not go smoothly, so copied my system drive in advance to allow me to switch back to my Win8.1 install until I can get it working.
- StinkyImp
- Posts: 669
- Joined: Thu May 11, 2017 7:53 pm
- Location:
- HTPC Specs:
I have space available in my "Third Party Programs" folder on Mega. I intend to keep that account (supposedly) forever.
https://mega.nz/folder/2k0WXI5b#hEvTsif-W8oOfIcDeQNCLA
Let me know...
-
- Posts: 963
- Joined: Thu Sep 10, 2015 4:10 pm
- Location: West Midlands
- HTPC Specs:
Thanks @StinkyImp
- StinkyImp
- Posts: 669
- Joined: Thu May 11, 2017 7:53 pm
- Location:
- HTPC Specs:
I can't find a download link for any of the "old" WMC versions or the Multi Tool in order to upload them to my repository. Are they located somewhere anyone can grab them or can I request them from a kind individual?
- StinkyImp
- Posts: 669
- Joined: Thu May 11, 2017 7:53 pm
- Location:
- HTPC Specs:
WMC Multi Tool can be downloaded from the Mega link above.
Thanks technodevotee!
Thanks technodevotee!
-
- Posts: 6
- Joined: Wed Nov 30, 2022 8:20 pm
- Location:
- HTPC Specs:
Unfortunately the "WMC Multi Tool" didn't seem to fix the issue, even after trying all of the obviously-relevant options. I decided to do a completely clean install of Win10 21H2, and the MSI package installed successfully on that and WMC starts correctly now - I've gone through the TV setup and imported my old configuration and recording schedule via EPG123, so the essentials are working. I have seen one weird issue with my WMC remote, but I'll raise that as a separate thread for clarity.
Thanks again for the suggestions.
Thanks again for the suggestions.