You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to run DebugViewConsole as windows service #349
Install windows service , define service to Log on as admin account(not localhost)
Run DebugViewConsole under this service/user
Result
Fails with following exception
" Unexpected error occurred: CreateDBWinBufferMapping
Listening for OutputDebugString messages...
Another DebugView++ (or similar application) might be running. "
Expected:
To run as normal
After debugging the code notices, that when running the DebugViewConsole as service following code
executed ~\DebugViewPP\DebugViewConsole\DebugViewConsole.cpp:128
if (IsWindowsVistaOrGreater() && HasGlobalDBWinReaderRights())
logsources.AddDBWinReader(true);
When running process regularly(via cmd prompt) it's not executed
After comment out above if statement the issues was fixed
Please help
OS tried windows 7 with latest updates
In order for debugviewconsole to receive logging from users other then
itself, it needs debug access rights.
I could fix it as you suggested and it wouldn't give an error message
anymore, but then it would only log messages from the same user account
that is running the service...
Does that make sense?
I'm not sure why it is not getting 'debug access rights' while you are running 'as admin'.
On Wed, Mar 13, 2019, 08:49 Roman-Bober ***@***.***> wrote:
Install windows service , define service to Log on as admin account(not
localhost)
Run DebugViewConsole under this service/user
Result
Fails with following exception
" Unexpected error occurred: CreateDBWinBufferMapping
Listening for OutputDebugString messages...
Another DebugView++ (or similar application) might be running. "
Expected:
To run as normal
After debugging the code notices, that when running the DebugViewConsole
as service following code
executed
*~\DebugViewPP\DebugViewConsole\DebugViewConsole.cpp:128 if
(IsWindowsVistaOrGreater() && HasGlobalDBWinReaderRights())
logsources.AddDBWinReader(true);*
When running process regularly(via cmd prompt) it's not executed
After comment out above if statement the issues was fixed
Please help
OS tried windows 7 with latest updates
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#349>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AFqJhCkCKLO-fh_lvoMCOpi1yYXcvZW2ks5vWK2QgaJpZM4bsmCg>
.
Hi Jan,
Thank you for such prompt reply
actually debugviewconsole was crashing under the windows service...
I think it would be sufficient to log messages only from user account that runs the windows service as a workaround
Activity
janwilmans commentedon Mar 13, 2019
Roman-Bober commentedon Mar 15, 2019
Hi Jan,
Thank you for such prompt reply
actually debugviewconsole was crashing under the windows service...
I think it would be sufficient to log messages only from user account that runs the windows service as a workaround
Thanks,
Roman
janwilmans commentedon Mar 16, 2019
YaarPatandarAA commentedon Aug 6, 2020
@janwilmans Any progress of this issue?
I am also facing the same problem as @Roman-Bober while trying to run DebugViewPP Console as a windows service.
Fixed Failed to run DebugViewConsole as windows service (#349)
janwilmans commentedon Oct 18, 2026
fixed in v1.22