Advanced rule editor crashes
Posted: Thu Sep 12, 2024 11:59 am
Under instruction of GPT, I cleaned up and reinstalled .Net 3.5, and finally load up Advanced Rule Editor in my architect.
But when I click the buttons such as "Check Syntax", "Insert Cube reference", "Brackets", Advanced Rule Editor crashes again. if I select same functions from menu, a popup message window shows below Exception messages.
=================================================================
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This usually indicates that other memory is corrupt.
在 Applix.Controls.Tm1ApiDef.TM1ObjectListHandleByNameGet(Int32 hPool, Int32 hServer, Int32 hProp, Int32 sClientName)
在 Applix.Controls.Tm1ApiDef.GetDims(String cubeName, Int32 hUser, Int32 hServer)
在 Applix.Controls.CubeRefForm..ctor(Int32 hUser, Int32 hServer, String curCube, String serverName, Boolean canSelectCubes, String fcnLabel)
在 Applix.Controls.TM1RuleEdit.Insert_CubeRef()
在 Applix.Controls.TM1RuleEdit.menuValidate_Click(Object sender, EventArgs e)
在 Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
在 Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.HidePopup(PopupCloseType popupCloseType)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.ProcessItemClick(BarItem item)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.OnMouseUp(MouseEventArgs e)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Syncfusion.Windows.Forms.ScrollControl.WmMouseUp(Message& msg)
在 Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
在 Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** load ProgramSets **************
mscorlib
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100)
Base Code: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
TM1RuleEditor
ProgramSet Version: 9.5.0.57616
Win32 Version: 9.5.00000.57616
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/TM1RuleEditor.DLL
----------------------------------------
System.Windows.Forms
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Syncfusion.Shared.Base
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Shared.Base.DLL
----------------------------------------
System.Xml
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Syncfusion.Edit.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Edit.Windows.DLL
----------------------------------------
mscorlib.resources
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100)
Base Code: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Syncfusion.Tools.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Tools.Windows.DLL
----------------------------------------
System.Design
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Configuration
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9153 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Syncfusion.Core
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Core.DLL
----------------------------------------
Accessibility
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
log4net
ProgramSet Version: 1.2.10.0
Win32 Version: 1.2.10.0
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/log4net.DLL
----------------------------------------
Syncfusion.Grid.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Grid.Windows.DLL
----------------------------------------
System.Data
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Windows.Forms.resources
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
================================================================
Basic information of my environment:
- Windows: Win 10 Professional 64 Bit.
- .Net Framework: both 3.5 and 4.8 are installed. uses below commands to clean and reinstall
After installing .NET 3.5 (including 2.0 and 3.0) in "Turn Windows Features on or off", use below commands to clear and reinstall the package again. Otherwise, loading the window of the advanced rule editor will trigger a crash.
>DISM /Online /Disable-Feature /FeatureName:NetFx3
>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
- TM1: PA 2.0.6 (TM1 11.4)
- Architect: bin64\tm1a.exe
- TM1 server can be started and stop normally.
How can I fix the problem?
Regards,
Chris
But when I click the buttons such as "Check Syntax", "Insert Cube reference", "Brackets", Advanced Rule Editor crashes again. if I select same functions from menu, a popup message window shows below Exception messages.
=================================================================
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This usually indicates that other memory is corrupt.
在 Applix.Controls.Tm1ApiDef.TM1ObjectListHandleByNameGet(Int32 hPool, Int32 hServer, Int32 hProp, Int32 sClientName)
在 Applix.Controls.Tm1ApiDef.GetDims(String cubeName, Int32 hUser, Int32 hServer)
在 Applix.Controls.CubeRefForm..ctor(Int32 hUser, Int32 hServer, String curCube, String serverName, Boolean canSelectCubes, String fcnLabel)
在 Applix.Controls.TM1RuleEdit.Insert_CubeRef()
在 Applix.Controls.TM1RuleEdit.menuValidate_Click(Object sender, EventArgs e)
在 Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
在 Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.HidePopup(PopupCloseType popupCloseType)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.ProcessItemClick(BarItem item)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.OnMouseUp(MouseEventArgs e)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Syncfusion.Windows.Forms.ScrollControl.WmMouseUp(Message& msg)
在 Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
在 Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
在 Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** load ProgramSets **************
mscorlib
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100)
Base Code: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
TM1RuleEditor
ProgramSet Version: 9.5.0.57616
Win32 Version: 9.5.00000.57616
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/TM1RuleEditor.DLL
----------------------------------------
System.Windows.Forms
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Syncfusion.Shared.Base
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Shared.Base.DLL
----------------------------------------
System.Xml
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Syncfusion.Edit.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Edit.Windows.DLL
----------------------------------------
mscorlib.resources
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100)
Base Code: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Syncfusion.Tools.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Tools.Windows.DLL
----------------------------------------
System.Design
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Configuration
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9153 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Syncfusion.Core
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Core.DLL
----------------------------------------
Accessibility
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
log4net
ProgramSet Version: 1.2.10.0
Win32 Version: 1.2.10.0
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/log4net.DLL
----------------------------------------
Syncfusion.Grid.Windows
ProgramSet Version: 5.102.1.47
Win32 Version: 5.102.1.47
Base Code: file:///D:/ibm/cognos/tm1_64/bin64/Syncfusion.Grid.Windows.DLL
----------------------------------------
System.Data
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Windows.Forms.resources
ProgramSet Version: 2.0.0.0
Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100)
Base Code: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
================================================================
Basic information of my environment:
- Windows: Win 10 Professional 64 Bit.
- .Net Framework: both 3.5 and 4.8 are installed. uses below commands to clean and reinstall
After installing .NET 3.5 (including 2.0 and 3.0) in "Turn Windows Features on or off", use below commands to clear and reinstall the package again. Otherwise, loading the window of the advanced rule editor will trigger a crash.
>DISM /Online /Disable-Feature /FeatureName:NetFx3
>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
- TM1: PA 2.0.6 (TM1 11.4)
- Architect: bin64\tm1a.exe
- TM1 server can be started and stop normally.
How can I fix the problem?
Regards,
Chris