USFS-PNW / Fia-Biosum-Manager

User interface and main code repository for Biosum
http://biosum.info/
Other
3 stars 3 forks source link

December 2022 Microsoft patches broke the BioSum Help screens #293

Open lbross opened 1 year ago

lbross commented 1 year ago

When you click on any of the Help buttons in any recent BioSum versions, the application crashes with this error: System.IO.FileFormatException: StoryFragments part failed to load This will also affect the USFS NOMS application. Researching to see what our options are. Disabling the patch or hacking the registry are not options. MSDN issue

lbross commented 1 year ago

Testing replacing XPS help with PDF help. The drawback of this approach is that the client has to have an adobe acrobat reader installed if we want to specify a page to open to. The current help documents are multi-page. I changed the help on the initial plot loading screen to use PDF for testing. Found a code-based solution on an MSDN forum. I implemented that for the rest of the application. It seems slower to me, but at least the help still works. The next release will let us test both options and see what we want to do going forward. Apparently the previous XPS processing had some security vulnerabilities in it so that's Microsoft disabled it.

jsfried commented 1 year ago

Both help systems seem to be working. The XPS help takes a while to come up the first time but subsequent calls go quicker.