What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

OpenProcessToken

desolate

New Member
Joined
Nov 22, 2012
Messages
7
Reaction score
0
Upon logging in I get an error screen that says "OpenProcessToken" and a box that says Ignore this error and attempt to continue.
If I do not check the box I then get "The type initializer for 'Styx.Helpers.UISettings' threw an exception."
If I choose to check the box it just goes to the main screen and hangs on "logging in."

I have deleted my settings folder.
I have both of the correct software required to run this program.
I have tried both directx 9 and 11.
I am running WoW in windowed mode.
I am running WoW under 32-bit mode.
Both Honorbuddy and WoW are running in admin mode.
I have disabled my firewall. (Comodo if anyone else has this issue with the same one)
I have tried multiple times fresh installing HB.
HB is up to date.
I am using Windows 7.

Despite trying out the multiple options I've read that usually solve peoples' problems I get the same error every time,
"OpenProcessToken," followed by "The type initializer for 'Styx.Helpers.UISettings' threw an exception."



also:
even though it says it found WoW at 64-bit
" at Honorbuddy.MainWindow.FindAndAttachToWoW(Boolean& found64Bits)
at Honorbuddy.MainWindow.HandleSuccess()"
as you can see from this pic it is running in 32-bit
http://i49.tinypic.com/6p2jw3.png

Log:
(snapshot from taskmanager)

attachments 4214 and 5312 are fresh logs one with the button checked to ignore and the other without.

Also I would like to note that it would be my first time running it so my folder does not contain any old files or anything that would conflict.
I am running it without any extra addons or anything.

Fresh download, fresh install. Still errors though =\
 

Attachments

Last edited:
Sorry, I wasn't sure if you wanted it printed or attached. I attached the log to the first post.
 
clear your settings folder and try again plz
 
I deleted my settings folder and tried again. Same problem, same error.
 
Have you done a clean install in a brand new folder
 
Make sure you're running both WoW and HB as admin. The exception is coming from OpenProcessToken WinAPI not succeeding (which it does when it has the rights to do so). If that doesn't work, please let me know.
 
So, I did run both of them on admin every time but I happened to find a very old post on this forum of somebody with the same exact problem.
They used SuRun to fix this problem though. I tried it and my problem was also fixed. I'm assuming when you run something as Admin you are
running the program under the Admin account as if the Admin is the one who executed the program and SuRun just elevates the current users
executed program to having the same rights as an Admin? I don't know why this would fix the problem either but that's all the info I've been able to
speculate on the problem. Maybe one of you developers can understand why that was the case if another user happens to have the same problem as I.
 
So, I did run both of them on admin every time but I happened to find a very old post on this forum of somebody with the same exact problem.
They used SuRun to fix this problem though. I tried it and my problem was also fixed. I'm assuming when you run something as Admin you are
running the program under the Admin account as if the Admin is the one who executed the program and SuRun just elevates the current users
executed program to having the same rights as an Admin? I don't know why this would fix the problem either but that's all the info I've been able to
speculate on the problem. Maybe one of you developers can understand why that was the case if another user happens to have the same problem as I.

So SuRun grants admin-level privileges? I'm guessing similar to sudo in Linux.
You should be able to right click the HB.exe and there is a setting in compatibility that can make HB run as admin every time it's opened.
 
So SuRun grants admin-level privileges? I'm guessing similar to sudo in Linux.
You should be able to right click the HB.exe and there is a setting in compatibility that can make HB run as admin every time it's opened.

Yeah, I had tried that as well. It didn't fix the issue either =\
I have to run WoW under normal Admin priv while HB is run with SuRun to get it to work.
 
Last edited:
completely disable comodo, its a nice anti-virus suite but it can and will sandbox honorbuddy from interacting with wow.
 
I had also done that lol, I disabled its antivirus, firewall, and defense+.
I also tried just shutting comodo down completely.
It was added to the trusted files as well so it was never sandboxed.
 
Back
Top