crash when changing size of toolbar icons


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\exefile' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)
at Anolis.Resourcer.Settings.FileAssociationManager.AssociateWithFiles(String[] classes, Boolean isAssociated) in D:\Users\David\My Documents\Visual Studio Projects\Anolis\Anolis.Resourcer\Settings\FileAssociationManager.cs:line 71
at Anolis.Resourcer.Settings.Settings.AssociateWithFiles(Boolean isAssociated) in D:\Users\David\My Documents\Visual Studio Projects\Anolis\Anolis.Resourcer\Settings\Settings.cs:line 68
at Anolis.Resourcer.OptionsForm.__ok_Click(Object sender, EventArgs e) in D:\Users\David\My Documents\Visual Studio Projects\Anolis\Anolis.Resourcer\Forms\OptionsForm.cs:line 80
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(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)
************** Loaded Assemblies **************
Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

Assembly Version: 0.8.3363.34208
Win32 Version:

CodeBase: file:///C:/Users/Digerati/Desktop/Anolis.Resourcer.Merged.exe

Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/

Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/

Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/

Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/

Assembly Version:
Win32 Version: 2.0.50727.4908 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/

************** 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
For example:
<system.windows.forms jitDebugging="true" />
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.
Closed Apr 10, 2009 at 7:42 PM by W3bbo
This is now fixed. It'll be in the next release of Resourcer,


W3bbo wrote Mar 30, 2009 at 1:47 PM

This crash isn't caused by changing the toolbar size, but actually when setting the file association.

I forgot that on Vista you need administrative privileges to do this. I'll fix this in the next release.

wrote Apr 10, 2009 at 7:42 PM

wrote Feb 14, 2013 at 8:13 PM

wrote May 16, 2013 at 9:36 AM