Error in Windows 10 making Browser Chooser 2 Default
Getting the following in Windows 10 when I click the "Make Default*" button.
Error
Details
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.Runtime.InteropServices.COMException (0x80070483): No application is associated with the specified file for this operation. (Exception from HRESULT: 0x80070483) at Browser_Chooser_2.WinAPIExtras.IApplicationAssociationRegistrationUI.LaunchAdvancedAssociationUI(String pszAppRegName) at Browser_Chooser_2.DefaultBrowser.MakeDefault(Scope aScope, Boolean aForce8, Boolean aShowMessage) at Browser_Chooser_2.frmOptions.MakeDefault() at Browser_Chooser_2.frmOptions.cmdMakeDefault_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.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.8670 (QFE.050727-8600) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Browser Chooser 2 Assembly Version: 2.0.3.14954 Win32 Version: 2.0.3.14954 CodeBase: file:///C:/Dropbox/Settings/Browser%20Chooser/Browser%20Chooser%202.exe
System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) 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.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.8693 built by: QFE CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
wbt8fjys Assembly Version: 2.0.3.14954 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
TAFactory.IconPack Assembly Version: 1.0.0.0 Win32 Version: 2.0.3.14954 CodeBase: file:///C:/Dropbox/Settings/Browser%20Chooser/Browser%20Chooser%202.exe
Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8670 (QFE.050727-8600) CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.
Comments (15)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
reporter Here's my current version:
It is a non-Developer version on a Surface Pro 4 if that helps.
Thanks for your help!
-
repo owner Applogies for the late response - took longer than I expect to get a Win10 VM running. I can confirm the crash you are having. You must click on Add to Default programs button first before the make default button. I will a trap in the next version to prevent this crash.
Having said that, win10 makes becoming the default app even more difficult - after Adding to the default programs list, you must go into the windows 10 Settings and set BC2 as your default. I don't know if there is any other way around it.
-
reporter I get the same error even when clicking the Add to Default Programs button first.
I did check the Windows 10 Default App Screen and BC2 does not show up in the list (even after clicking the Add to Default programs button).
Strangely, I do have another Windows 10 system at home that works. It was upgraded from Windows 7, whereas the problem system is a new Surface Pro 4.
-
repo owner I think it might be the Surface Pro. MS may have a different version with less 'APIs' in it. I will have to dig into the MS documentation. Unfortunately, they are getting more and more hostile to different browsers.
-
FYI... Running Surface Pro 3 and Windows 8.1 Pro. Same errors on both buttons
-
repo owner Can one of you give me the details from the first button. The error will be different. I do not have access to a Surface Pro so my ability to debug will be limited.
-
reporter I don't get an error clicking the "Add to Default Programs" button. The screen kind of flashes, but there is no warning, error or confirmation. Sorry, that wasn't clear from one of my previous follow up messages.
I was intending to say that I get the "Make Default*" button error regardless of whether I click the "Add to Default Programs" button first.
-
Yup.... exact same here. no error on the first button... but it doesnt add it to the programs. second always gets the error.
-
repo owner Great. thanks. What is happening is Windows 10 do not have that API anymore. On my test mahcine, a dialog window pop-ups somthing about this app not being compatible. This is what is not happening on surface.
Unless someone can find a way to fool Windows into accepting a different default browsers, this button will never work again.
There is a side issue where some registry keys may be missing and windows 10 does not allow you to choose BC2 as a default browser.
This is very frustrating to see MS make life harder and harder on browser developers.
-
repo owner - changed status to resolved
In today's commit, I now finally pop-up the correct dialog. Should no longer crash.
Not sure when it will be release - getting there. Early guess is Late April.
-
If you want to drop me a build I can test it for you to confirm resolution on our side.
-
[image: 2016-05-23_120836.jpg]
Unhandled exception as soon as I click the config button....
Version 2.0.3.35882 Beta 2
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load type 'SeparatorComboBox.SeparatorComboBox' from assembly 'Browser Chooser 2, Version=2.0.3.35882, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'SeparatorComboBox.SeparatorComboBox' from assembly 'Browser Chooser 2, Version=2.0.3.35882, Culture=neutral, PublicKeyToken=null'. at Browser_Chooser_2.frmOptions.InitializeComponent() at Browser_Chooser_2.frmOptions..ctor() --- End of inner exception stack trace --- at Browser_Chooser_2.My.MyProject.MyForms.Create__Instance__T at Browser_Chooser_2.My.MyProject.MyForms.get_frmOptions() at Browser_Chooser_2.frmMain.OpenOptions() at Browser_Chooser_2.frmMain.btnOptions_Click(Object sender, EventArgs e) 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 ** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
-
repo owner Try it again - I had uploaded an older version. This new version fixes that.
- Log in to comment
Interesting. Seems like the dialog for choosing a default browser is not present. Are you using the most recent version of Win10 or a Developer Version.
I will try to reproduce the error this weekend when I get access to my Win10 VMs.
Thanks!