Solved

"File format is not valid" when opening Help menu in IFS10 EE

  • 13 September 2023
  • 4 replies
  • 127 views

Userlevel 4
Badge +8

Hello Community

I’m getting an error File format is not valid. when just click Help on Context Pane.

It seems to be my Windows installation specific, since i can’t open Help in any IFS EE app (we have 3 different environments). I already deleted all Apps 2.0 folders, nothing helped. 

Could you give me any tips what to check?

IFS10 EE Update 14

Client Version 10.5.8.0

Server Version 10.14.8.0

Error details:

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.ArgumentException: File format is not valid.
   at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
   at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
   at System.Windows.Forms.RichTextBox.set_Rtf(String value)
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.ModifyFontSize(String text, Int32 step)
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.SetHelpText(String rtfString)
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.DisplaySingleField()
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.UpdateHelpText()
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.UpdateHelpPanelUI(Boolean forceUpdate)
   at Ifs.Fnd.Explorer.Extenders.HelpManager.HelpManagerPanel.UpdateUI(ContextPaneUpdateType updateType)
   at Ifs.Fnd.Explorer.UI.ContextPaneManager.OnContextPaneLayoutRequest(IFndContextPaneControl control, Boolean show)
   at Ifs.Fnd.Explorer.UI.ContextPaneManager.fndRibbonControl1_CollapseExpandChanged(Object sender, EventArgs e)
   at Ifs.Fnd.Explorer.Controls.FndRibbonControl.set_Collapsed(Boolean value)
   at Ifs.Fnd.Explorer.UI.ContextPaneManager.TogglePane(Control control)
   at Ifs.Fnd.Explorer.UI.ContextPaneManager.fndRibbonControl1_RibbonItemClicked(Object sender, FndRibbonClickedEventArgs e)
   at Ifs.Fnd.Explorer.Controls.FndRibbonControl.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---

 

Best regards,

Wiktor

icon

Best answer by Wiktor 17 October 2023, 18:39

View original

4 replies

Userlevel 2
Badge +8

Are you using Windows 11? I’ve just had a user get the same error in Apps9.

 

I had heard only recently that Micorsoft are removing .rtf functionallity from Windows 11 and WordPad but that maybe a coincidence.

Regards,

Alex

Userlevel 4
Badge +8

Hi Alex

I’m using Win10 22H2.

BR, Wiktor

Badge +3

Hi all, 

Got same error on Windows 11. On another Windows 11 machnes working fine. Any ideas how to solve issue?

Best regards

Userlevel 4
Badge +8

Finally I was able to get rid of this error, by unchecking an option Beta: unicode UTF-8 for world wide language support in regional setting.
Full post on that resolution: https://answers.microsoft.com/en-us/windows/forum/all/richtextboxrtf-setter-throwing/31f1df32-f447-45f0-87f5-beebc1774092

To recreate the issue:

  • Enable Beta: unicode UTF-8 for world wide language support (To enable Start => Region & Language settings => Related settings -> Additional date, time & regional settings => Region -> Change date, time or number formats => select Administrative tab => Click on Change System Locale.. => Check  Beta: unicode UTF-8 for world wide language support checkbox

To fix it, just uncheck it.

Best regards,

Wiktor

Reply