Page 1 of 1
Error: Getting App Handle disabling Second Instance
Posted: Mon Oct 19, 2015 2:12 pm
by USNA88
I'm getting an error when I try to launch PWB (CEF) in "secure mode." All I have to do to induce the error is simply set SecureMode=True. No other configuration changes, although I'll add the error occurs with my completely configured PWB.INI file as well. Anyway, this is the error message:
Error: Getting App Handle disabling Second Instance
The error occurs in a pop-up that I can close and my system returns to normal. If I set SecureMode=False, PWB will start up just fine ... just not in the secure mode I need. *smile*
I'm running Windows 10 (Enterprise), if that matters.
Any suggestions?
Thanks!
Chris
Re: Error: Getting App Handle disabling Second Instance
Posted: Mon Oct 19, 2015 3:44 pm
by Scott
When running PWB in secure mode PWB starts a second instance of itself in an alternate Windows Desktop.
To prevent the second instance error set the following in your PWB INI file.
[Security]
DisableSecondInstance=False
--Scott
Re: Error: Getting App Handle disabling Second Instance
Posted: Mon Oct 26, 2015 10:55 am
by johnnys
I'm also receiving this, Win7, PWB v3.04.4 basic (CEF).
Only config I have on is SecureMode=True
I have set the following as suggested;
[Security]
DisableSecondInstance=False
Re: Error: Getting App Handle disabling Second Instance
Posted: Mon Oct 26, 2015 12:39 pm
by Scott
Did the setting fix the issue for you?
In the next version of PWB setting secure mode will turn off the second instance by default.
--Scott
Re: Error: Getting App Handle disabling Second Instance
Posted: Tue Oct 27, 2015 3:02 am
by johnnys
No, unfortunately it didn't fix it for me. Issue still here.
Re: Error: Getting App Handle disabling Second Instance
Posted: Tue Oct 27, 2015 8:59 am
by Scott
Sorry, that should have been the following setting.
[Security]
DisableSecondInstance=False
It has been corrected in the previous posts.
--Scott
Re: Error: Getting App Handle disabling Second Instance
Posted: Wed Nov 18, 2015 8:16 am
by jqjansse
[quote="Scott"]Sorry, that should have been the following setting.
[[b]Security[/b]]
DisableSecondInstance=False
It has been corrected in the previous posts.
--Scott[/quote]
Dear Scott,
I am trying to "emulate" the DesktopMode=TRUE setting used in the PWB v. 2.x environment using the SecureMode=True setting in PWB v. 3.x in Windows 7/IE11 and I get the same error user USNA88 mentioned, even after setting DisableSecondInstance=False. Exactly the same behaviour user johnnys experienced. This occurs under Windows 7 Enterprise and under Windows Thin PC using the Original PWB.INI with only the SecureMode and DisableSecondInstance settings adapted.
What am I / are we missing?
Thanks in advance for your help.
Regards,
Jan J.
Re: Error: Getting App Handle disabling Second Instance
Posted: Wed Nov 18, 2015 12:23 pm
by Scott
Did you move the setting from the [Browser] section to the [Security] section in the INI file?
[Security]
DisableSecondInstance=False
--Scott
Re: Error: Getting App Handle disabling Second Instance
Posted: Thu Nov 19, 2015 7:34 am
by jqjansse
[quote="Scott"]Did you move the setting from the [Browser] section to the [Security] section in the INI file?
[[b]Security[/b]]
DisableSecondInstance=False
--Scott[/quote]
Dear Scott,
that did the trick! Thanks for pointing this out.
Regards,
Jan.