Release 2 breaks outlook links

Issue #31 resolved
Steven Christensen created an issue

After upgrading to Release 2, and accepting the request to update the registry, clicking on https: links in Outlook fails. There is a popup which says:

Microsoft Outlook Something unexpected went wrong with this URL: 'https://blah.blah.com/blah". Application not found. ========================= I can run the Browser Chooser 2 manually. I checked in the application options, and it looks like the associations are set. Reverting to Release 1 does not fix the problem, so I suspect it was the registry change.

Also, can you provide details as to what the registry change does?

Comments (7)

  1. guy repo owner

    I updated 2 keys to add quotes. You can re-apply the associations by going into the settings -> Windows Default -> Add to Default Programs. You may need to remove first, but should not be required.

    The keys in question: HKEY_CURRENT_USER\Software\Classes\BrowserChooser2HTML\shell\open\command(Default) HKEY_CURRENT_USER\Software\Classes\BrowserChooser2URL\shell\open\command(Default)

    Check them to see if the path is correct. It should be something like: "C:{PATH TO BrowserChooser2}\Browser Chooser 2.exe" "%1"

    I added the quotes around %1 to deal with long URLs getting truncated and some special chars causing problems.

  2. Sridhar Dhanapalan

    With the latest version, I have the same problem as Steven and my registry looks just like guy's. I'm on Windows 7 64-bit. The previous version worked better.

    When I click Make Default I get this error:

    Capture.PNG

    The error text is:

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

    ** Exception Text ** System.ArgumentException: Argument 'SourceArray' cannot be converted to type 'String'. at Microsoft.VisualBasic.Strings.Join(Object[] SourceArray, String Delimiter) at Browser_Chooser_2.Logger.AddToLog(String aCaller, String aMessage, Object[] aExtraVars) at Browser_Chooser_2.DefaultBrowser.DoUserScope(RegistryKey aMaster) at Browser_Chooser_2.DefaultBrowser.MakeDefault(Scope aScope, Boolean aForce8, Boolean aShowMessage, String aDoSingle, Boolean abIsProtocol) at Browser_Chooser_2.frmOptions.MakeDefault() at System.Windows.Forms.Control.OnClick(EventArgs e) 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.8762 (QFE.050727-8700) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll


    Browser Chooser 2 Assembly Version: 2.0.4.25075 Win32 Version: 2.0.4.25075 CodeBase: file:///D:/opt/Browser%20Chooser%202/Browser%20Chooser%202.exe


    Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll


    System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8770 (QFE.050727-8700) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


    System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


    System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


    System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


    System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8773 (QFE.050727-8700) 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.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


    pi9leel2 Assembly Version: 2.0.4.25075 Win32 Version: 2.0.50727.8770 (QFE.050727-8700) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


    OSVersionInfo Assembly Version: 3.0.0.0 Win32 Version: 2.0.4.25075 CodeBase: file:///D:/opt/Browser%20Chooser%202/Browser%20Chooser%202.exe


    TAFactory.IconPack Assembly Version: 1.0.0.0 Win32 Version: 2.0.4.25075 CodeBase: file:///D:/opt/Browser%20Chooser%202/Browser%20Chooser%202.exe


    SepCombo Assembly Version: 1.0.0.0 Win32 Version: 2.0.4.25075 CodeBase: file:///D:/opt/Browser%20Chooser%202/Browser%20Chooser%202.exe


    Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) 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.

  3. Sridhar Dhanapalan

    After playing around some more with the BC settings, it seems to be working now despite the above error.

  4. Log in to comment