pako12 / brawltools

Automatically exported from code.google.com/p/brawltools
0 stars 0 forks source link

Can't get Brawlbox to associates files in Windows 7 #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have it on Windows 7
2. open brawlbox and choose the tools and file association
3. check off the "Check all" box and click okay or apply

What is the expected output? What do you see instead?

This: 

Unhanded exception has occurred in your application.
If you click Continue, the application will ignore this error and attempt
to continue.
If you click Quit, the application will close immediately.

Access to the registry key
"HKEY_CLASSES_ROOT\SSBB.PAC\shell\open\command" is denied.

Details:
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\SSBB.PAC\shell\open\command' is denied.
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey,
RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
   at Microsoft.Win32.Registry.SetValue(String keyName, String valueName,
Object value, RegistryValueKind valueKind)
   at System.IO.wFileType.SetCommand(String verb, String command)
   at BrawlBox.SettingsDialog.Apply()
   at BrawlBox.SettingsDialog.btnOkay_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.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.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)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BrawlBox
    Assembly Version: 0.63.3691.33774
    Win32 Version: 0.63.3.0
    CodeBase: file:///C:/Users/BJ/Documents/Game%20Apps/Brawlbox/BrawlBox.exe
----------------------------------------
BrawlLib
    Assembly Version: 0.10.3691.33773
    Win32 Version: 0.10.3.0
    CodeBase: file:///C:/Users/BJ/Documents/Game%20Apps/Brawlbox/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.

Please use labels and text to provide additional information.

I have no idea why this is happening, it works fine in my Windows XP SP3
laptop... it's really weird. And sorry to be bugging you with this on your
well deserved break, I just really want this to be fixed before I upgrade
my laptop to Windows 7 as well. Once again, thanks for all the hardwork.

Original issue reported on code.google.com by b2j135@gmail.com on 13 Apr 2010 at 12:49

GoogleCodeExporter commented 8 years ago
How The Fuck Is This Not Fixed Yet??? Seriously? Over a year since this was 
posted?

Original comment by MICGAB...@gmail.com on 29 Apr 2011 at 3:45

GoogleCodeExporter commented 8 years ago
*Facepalm*
You have to run the program as an administrator for this to work.
Really people, it's not hard. 

Original comment by technoas...@gmail.com on 3 May 2011 at 4:46