Forum Discussion
joseparra
May 02, 2022Brass Contributor
Error loading .Net application configuration after installing Windows 25th April KB5012643
After installing KB5012643 (25th April Update) in a couple of Windows 11 PCs, we can't execute an application developed by our company. The application is Windows Forms Desktop .Net 3.5. As soon as ...
- May 03, 2022I finally restored GAC_MSIL unexpected files uninstalling .Net Framework 3.5 and reinstalling it from Control Panel -> Programs & features -> Add/remove Windows features
After reinstalling .Net Framework 3.5 the application is now working.
joseparra
Brass Contributor
I have compared the machine.config file (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG) before KB5012643 and after, and I can see that following sectiongroups have disappeared:
<sectionGroup name="system.runtime.serialization" ...
<sectionGroup name="system.serviceModel" ...
<sectionGroup name="system.serviceModel.activation" ...
I have copied that sections from the backup machine.config file and now it appears another error message when I try to execute my application:
"Could not load file or assembly System.Runtime.Serialization version=3.0.0.0 ... publickeytoken=b77a5c561934e089"
I opened GAC_MSIL folder and I can see that following folders are empty:
C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089
C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089
Any idea of how to restore that folders?
Jose
<sectionGroup name="system.runtime.serialization" ...
<sectionGroup name="system.serviceModel" ...
<sectionGroup name="system.serviceModel.activation" ...
I have copied that sections from the backup machine.config file and now it appears another error message when I try to execute my application:
"Could not load file or assembly System.Runtime.Serialization version=3.0.0.0 ... publickeytoken=b77a5c561934e089"
I opened GAC_MSIL folder and I can see that following folders are empty:
C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089
C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089
Any idea of how to restore that folders?
Jose
joseparra
May 03, 2022Brass Contributor
I finally restored GAC_MSIL unexpected files uninstalling .Net Framework 3.5 and reinstalling it from Control Panel -> Programs & features -> Add/remove Windows features
After reinstalling .Net Framework 3.5 the application is now working.
After reinstalling .Net Framework 3.5 the application is now working.