DbMonitor Exception: Control 'dpEvents' has no parent window

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
idem84
Posts: 51
Joined: Thu 04 Apr 2013 19:12

DbMonitor Exception: Control 'dpEvents' has no parent window

Post by idem84 » Mon 18 Aug 2014 21:15

Do not know why, but the application 'dbmonitor' throws me an exception (when receiving event (strange no tool windows displayed)) "Control 'dpEvents' has no parent window" even reinstalling.

The only solution is deleting the registry key "[HKEY_CURRENT_USER \ Software \ Devart \ DBMonitor]" and reinstalling.

Thanks in advance!

Comparing versions keys created me realize there is much difference, the keys that produce this problem below:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Devart\dbMonitor]
"Counter"="12"
"Self"="C:\\Program Files (x86)\\Devart\\dbMonitor\\dbMonitor.exe"
"Version"="3.0.4"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Filter]
"Columns"="2"
"EventTypes"="106495"
"EventStatus"="0"
"MinTimestamp"="0"
"MaxTimestamp"="0"
"MinDuration"="0"
"MaxDuration"="0"
"Description"=""
"SQL"=""

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Layout]

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Layout\0]
"ClassName"="TdxDockSite"
"Name"="dxDockSite1"
"ParentForm"="DBMonitorForm"
"ChildCount"=dword:00000000
"AllowDockClientsLeft"="1"
"AllowDockClientsTop"="1"
"AllowDockClientsRight"="1"
"AllowDockClientsBottom"="1"
"AllowDockClientsClient"="1"
"Width"=dword:0000031d
"Height"=dword:0000023c
"OriginalWidth"=dword:0000031d
"OriginalHeight"=dword:0000023c
"Visible"="1"
"AutoSize"="0"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Layout\Root]
"DockControlCount"=dword:00000009

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Options]
"AskBeforeClose"="1"
"Port"="1000"
"EventsPerProcess"="30000"
"DropEventsBlock"="5000"
"RedrawInterval"="500"
"SkipEvents"="1"
"FileForEvents"=""

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\Options\CallStack]
"Namespaces"="System;Devart"
"WithParams"="0"
"WithNS"="1"
"ShortenBranches"="0"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View]
"State"="0"
"StayOnTop"="0"
"SortColumn"="3"
"SortDesc"="0"
"Left"="475"
"Top"="47"
"Width"="813"
"Height"="681"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\EventColumns]

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\EventColumns\0]
"Width"="118"
"Index"="0"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\EventColumns\1]
"Width"="73"
"Index"="1"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\EventColumns\2]
"Width"="326"
"Index"="2"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\EventColumns\3]
"Width"="73"
"Index"="3"
"AutoHighlightModes"="1"

[HKEY_CURRENT_USER\Software\Devart\dbMonitor\View\ParamColumns]
"0"="70"
"1"="60"
"2"="70"
"3"="140"
"4"="140"

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DbMonitor Exception: Control 'dpEvents' has no parent window

Post by AlexP » Tue 26 Aug 2014 08:28

Hello,

We are working at the problem solution at the moment. We will try to fix it in one of the next product versions.
To restore the View window, you should change the View parameter value from 0 to 1 in the registry branch: HKEY_CURRENT_USER\Software\Devart\dbMonitor\Layout\1

Post Reply