Crash on Browser Selection: Access is denied

Issue #26 resolved
Former user created an issue

Hi,

Running latest build on Win10 x64 1703.

Keeps giving an when I click on links and pick Google Chrome.

Error below:

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: Access is denied at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited) at System.Diagnostics.Process.OpenProcessHandle() at System.Diagnostics.Process.get_Handle() at Browser_Chooser_2.BrowserUtilities.TryToBringToFront(String strBrowser) at Browser_Chooser_2.BrowserUtilities.DoLaunch(Browser aTarget, String aURL, Boolean aTerminate) at Browser_Chooser_2.BrowserUtilities.LaunchBrowser(Browser lBrowser, String lURL, Boolean aTerminate) at Browser_Chooser_2.frmMain.HandleActivated(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs 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.8794 (WinRelRS2.050727-8700) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


Browser Chooser 2 Assembly Version: 2.0.3.21514 Win32 Version: 2.0.3.21514 CodeBase: file:///D:/666/Appz/Browser%20Chooser%202.exe


System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8784 (WinRel.050727-8700) 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.8800 (WinRelRS2.050727-8800) 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.8784 (WinRel.050727-8700) 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.8784 (WinRel.050727-8700) 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.8784 (WinRel.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.8784 (WinRel.050727-8700) 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.8795 built by: WinRel CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


k0x44ag7 Assembly Version: 2.0.3.21514 Win32 Version: 2.0.50727.8800 (WinRelRS2.050727-8800) 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.3.21514 CodeBase: file:///D:/666/Appz/Browser%20Chooser%202.exe


TAFactory.IconPack Assembly Version: 1.0.0.0 Win32 Version: 2.0.3.21514 CodeBase: file:///D:/666/Appz/Browser%20Chooser%202.exe


** 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 (5)

  1. guy repo owner

    Are there more than one user on your system. BC2 might be trying to launch someone else's Chrome.

    Can you post the browserchooser2.xml file found in your %appdata%/browserchooer2 folder.

  2. guy repo owner

    Founds the problem. Added error trapping to prevent from happening. Chrome may have closed before BC2 could bring it to front. As long your page opens, I am happy.

  3. Log in to comment