This OEM tool that I use a lot started crashing in one particular feature. Below is part of the error log. Adlib Designer is the tool, the Adapl parser is the feature, a simple embedded code editor with syntax hightlighting and a few basic options for compiling. On the failing system, syntax highlighting does not work and the feature crashes the whole tool a few seconds after being launched.
Application: ADLIBDesigner.exe
Framework version: v4.0.30319
Description: the process ended due to an unhandled exception.
Exception information: System.ArgumentException
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at Adlib.Designer.ApplicationBrowser.PropertyPages.AdaplProperties.AdaplParser_ParseComplete(System.Object, System.EventArgs)
at Adlib.Designer.AdlibDesignerMain.AdaplParser.Parse()
.NET Frameworks 3.5 and 4.8 are installed on my pc. OS is Windows 10 Pro version 10.0.18363.592. Latest installed updates are:
2020-01 Cumulative update for .NET Framework 3.5 and 4.8 Windows 10 version 1909 for x64 KB4534132 and KB4532938
2019-12 Cumulative update for .NET Framework 3.5 and 4.8 Windows 10 version 1909 for x64 KB4533002
I ran Microsoft's .NET repair tool, but it did not solve the problem.
I'm suspecting a corruption in some .NET module because
- the exact same tool works fine on an other (much older & slower) pc, with the same Windows version and the same updates.
- the crash happens in
System.Windows.Forms.Control.MarshaledInvoke, ie not in an OEM-module.
I reported the problem to the maker of the tool. They can't reproduce the problem either, so a solution from them is not to be expected.
I'm thinking of doing a clean re-install of .NET. Does that make sense? If so, how can I do that?
The only other option I can think of: re-install Windows. I'd rather not go that path, because I'd have to reload my workhorse pc with everything it needs to work comfortably.