Unhandled exception when entering settings in PrePoMax v1.3.5 on Windows 11

Hi,

whenever I try to access Tools → Settings in v1.3.5 on my laptop with Windows 11, I get “Unhandled exception has occured in your application … The method or operation is not implemented.” error and I have to click Quit. Then PrePoMax is closed after a few seconds. Here’s what is displayed as Details in this error message:

************** Exception Text **************
System.NotImplementedException: The method or operation is not implemented.
   at UserControls.MySite.get_Name()
   at System.Windows.Forms.Control.WmGetControlName(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.PropertyGrid.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PrePoMax
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/PrePoMax.exe
----------------------------------------
CaeGlobals
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/CaeGlobals.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
UserControls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/UserControls.DLL
----------------------------------------
vtkControl
    Assembly Version: 1.0.8310.31547
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/vtkControl.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CaeMesh
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/CaeMesh.DLL
----------------------------------------
CaeModel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/CaeModel.DLL
----------------------------------------
Kitware.VTK
    Assembly Version: 5.8.0.607
    Win32 Version: 5.8.0.607
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/Kitware.VTK.DLL
----------------------------------------
Kitware.mummy.Runtime
    Assembly Version: 1.0.2.599
    Win32 Version: 1.0.2.599
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/Kitware.mummy.Runtime.DLL
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
CaeJob
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/CaeJob.DLL
----------------------------------------
CaeResults
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/CaeResults.DLL
----------------------------------------
UnitsNet
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/UnitsNet.DLL
----------------------------------------
System.ValueTuple
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ZedGraph
    Assembly Version: 5.1.7.430
    Win32 Version: 5.1.7.430
    CodeBase: file:///C:/Program%20Files/PrePoMax%20v1.3.5/lib/ZedGraph.DLL
----------------------------------------
System.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Drawing.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------

This problem doesn’t occur on my other computers with Windows 8.1 and with Windows 10. Previous versions were working fine also on Windows 11. Would it be possible to fix this ?

I have only one Windows 11 computer. It is a laptop and if I access the Tools → Settings form, for me everything works fine.

I think I know where the problem is but I cannot test it directly.

Did you use the settings from the older PrePoMax versions? If so, can you share them with me?

I didn’t copy the settings.bin file from the older version. I just unpacked the new version, started it and went to Tools → Settings where I encountered this error.

I will try to test this behaviour on some other Win11 PCs. I hope I will be successful.

1 Like

Can you please test this .dll in the .zip container? Copy it into the PrePoMax/lib directory to overwrite the original one.

UserControls.zip (72.2 KB)

It works with this file, the error message doesn’t appear when I enter the settings. Thank you very much for fixing this so quickly :slight_smile:

Please, do some more test by using different forms with property grids on them. I will replace the .dll in the release version if everything works as it should.

What exactly should I do ? Do you mean simply changing different settings in Tools → Settings, then restarting and going back to Tools → Settings to make sure that the error doesn’t occur anymore ?

I thought of testing other forms that use the control shown in the bottom window highlighted in red. Almost all of them have them and the bug shud affect all of them.

I have updated the v1.3.5 files to fix this bug.

1 Like