Error: Getting App Handle disabling Second Instance

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
USNA88
Spectator
Spectator
Posts: 1
Joined: Mon Oct 19, 2015 1:55 pm

Error: Getting App Handle disabling Second Instance

Post 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

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Error: Getting App Handle disabling Second Instance

Post 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

johnnys
Observer
Observer
Posts: 7
Joined: Fri May 29, 2015 3:04 am

Re: Error: Getting App Handle disabling Second Instance

Post 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

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Error: Getting App Handle disabling Second Instance

Post 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

johnnys
Observer
Observer
Posts: 7
Joined: Fri May 29, 2015 3:04 am

Re: Error: Getting App Handle disabling Second Instance

Post by johnnys »

No, unfortunately it didn't fix it for me. Issue still here.

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Error: Getting App Handle disabling Second Instance

Post by Scott »

Sorry, that should have been the following setting.

[Security]
DisableSecondInstance=False

It has been corrected in the previous posts.

--Scott

jqjansse
Observer
Observer
Posts: 8
Joined: Mon Aug 09, 2004 1:53 am
Location: Vrije Universiteit Brussel, Brussels, Belgium

Re: Error: Getting App Handle disabling Second Instance

Post 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.
Jan Janssens
Universiteitsbibliotheek / University Library
Vrije Universiteit Brussel / Brussels Free University
Pleinlaan 2
B-1050 Brussel
BELGIUM

Scott
Site Admin
Site Admin
Posts: 2528
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Error: Getting App Handle disabling Second Instance

Post by Scott »

Did you move the setting from the [Browser] section to the [Security] section in the INI file?

[Security]
DisableSecondInstance=False

--Scott

jqjansse
Observer
Observer
Posts: 8
Joined: Mon Aug 09, 2004 1:53 am
Location: Vrije Universiteit Brussel, Brussels, Belgium

Re: Error: Getting App Handle disabling Second Instance

Post 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.
Jan Janssens
Universiteitsbibliotheek / University Library
Vrije Universiteit Brussel / Brussels Free University
Pleinlaan 2
B-1050 Brussel
BELGIUM

Post Reply