Skip to content

Failed to run DebugViewConsole as windows service #349

Closed

Description

@Roman-Bober

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

Activity

  1. janwilmans commented on Mar 13, 2019

    @janwilmans
    Collaborator
  2. Roman-Bober commented on Mar 15, 2019

    @Roman-Bober
    Author

    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

  3. janwilmans commented on Mar 16, 2019

    @janwilmans
    Collaborator
  4. YaarPatandarAA commented on Aug 6, 2020

    @YaarPatandarAA

    @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.

  5. janwilmans commented on Oct 18, 2026

    @janwilmans
    Collaborator

    fixed in v1.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions