optimizer icon indicating copy to clipboard operation
optimizer copied to clipboard

13.7 work fine but after update to 13.9 get some error .NET Runtime

Open eroli23 opened this issue 2 years ago • 3 comments

13.7 work fine but after update to 13.9 get some error

Windows 11 Pro x64 Version 21H2 Build 22000.918 Antivirus F-Secure SAFE Simplewall Firewall by henrypp

Event Viewer

EVENT ID 1026 Source .NET Runtime Application: Optimizer-13.9.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.OutOfMemoryException at System.Drawing.Image.FromFile(System.String, Boolean) at Optimizer.MainForm.GetModernApps(Boolean) at System.Windows.Forms.CheckBox.OnCheckedChanged(System.EventArgs) at Optimizer.MoonCheck.OnCheckedChanged(System.EventArgs) at System.Windows.Forms.CheckBox.set_CheckState(System.Windows.Forms.CheckState) at System.Windows.Forms.CheckBox.set_Checked(Boolean) at Optimizer.MainForm..ctor(Optimizer.SplashForm, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) at Optimizer.Program.Main(System.String[])

EVENT ID 1000 Source Application Error Faulting application name: Optimizer-13.9.exe, version: 0.0.0.0, time stamp: 0x63024243 Faulting module name: KERNELBASE.dll, version: 10.0.22000.918, time stamp: 0xb42fa627 Exception code: 0xe0434352 Fault offset: 0x000000000004474c Faulting process id: 0x334c Faulting application start time: 0x01d8bee4db74e5d0 Faulting application path: D:\Chrome Download\Optimizer-13.9.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: afff31f0-f594-4610-bb91-4c020cf61429 Faulting package full name: Faulting package-relative application ID:

eroli23 avatar Sep 02 '22 16:09 eroli23

Try running the app with /disable=uwp. It should work. I'll fix it.

hellzerg avatar Sep 02 '22 19:09 hellzerg

Yes, it work. I Appreciate this useful program. Thank you.

eroli23 avatar Sep 03 '22 10:09 eroli23

Hello, i'm also get this and others error from .net 4.8 (Windows 11 build 22621) when click on restart at top-right.. I try switch too but without success. (never issues with until 13.8 incl.).

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.ComponentModel.Win32Exception (0x80004005): Impossibile trovare il file specificato at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Optimizer.Utilities.Reboot() at System.Windows.Forms.Control.OnClick(EventArgs 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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Optimizer Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Users/GianLucaB/Downloads/Optimizer-13.9.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C 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.9065.0 built by: NET481REL1LAST_C 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

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Users/GianLucaB/Downloads/Optimizer-13.9.exe

System.Numerics 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.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization 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.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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

System.Dynamic Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Microsoft.CSharp.resources Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp.resources/v4.0_4.0.0.0_it_b03f5f7f11d50a3a/Microsoft.CSharp.resources.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

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

System.Management.Automation Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.169 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

Microsoft.PowerShell.Commands.Diagnostics Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll

System.Configuration.Install 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.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll

Microsoft.PowerShell.ConsoleHost Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll

Microsoft.PowerShell.Commands.Utility Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll

Microsoft.PowerShell.Commands.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.169 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll

Microsoft.Management.Infrastructure Assembly Version: 1.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll

Microsoft.PowerShell.Security Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll

Microsoft.WSMan.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll

System.Management 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.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

System.DirectoryServices 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.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll

System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.Windows.Appx.PackageManager.Commands Assembly Version: 10.0.0.0 Win32 Version: 10.0.22621.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Windows.Appx.PackageManager.Commands/v4.0_10.0.0.0__31bf3856ad364e35/Microsoft.Windows.Appx.PackageManager.Commands.dll

Windows.Management Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/system32/WinMetadata/Windows.Management.winmd

Windows.Foundation Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/system32/WinMetadata/Windows.Foundation.winmd

Windows.ApplicationModel Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/system32/WinMetadata/Windows.ApplicationModel.winmd

Windows.System Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/system32/WinMetadata/Windows.System.winmd

Windows.Storage Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/system32/WinMetadata/Windows.Storage.winmd

System.Runtime Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

System.IO.Compression 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.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Screenshot (13)

FirenzeIT avatar Sep 09 '22 08:09 FirenzeIT

Please update to v14.0 and the problem will be gone.

hellzerg avatar Sep 24 '22 12:09 hellzerg