Event Viewer

  • Thread starter Thread starter Wayne Taylor
  • Start date Start date
W

Wayne Taylor

Hello All,

Does any one know what components are required so you get complete error
statements?

Thanks in advance.

Wayne Taylor
 
The component to add is called:

Event Log

Also, you may want to enable Verbose Event Logging:

You can facilitate troubleshooting Device Update Agent by creating a
component that enables verbose event logging in the Windows Event Log
Viewer.

To create and add verbose event logging component to your configuration

1. Open Component Designer.

2. Create a new component definition file by choosing File, then New. A
new component definition file opens.

3. Right-click the Components folder in the SLD Browser and choose Add
New Component. A New Component is added to the .sld file.

4. In the Component Properties window, enter a name for the component,
such as Verbose Event Log Support.

5. Right-click Registry Data in the SLD Browser and choose Add, then
Registry Data. The Add Component Registry Resources window appears.

6. Add the following registry information to enable verbose error
logging:

\HKLM\SYSTEM\CurrentControlSet\Services\XPEAgent\Parameters\Config

Name: Logging

Value: 1

Type: DWORD

7. Choose OK.

8. Save the Component by choosing File, then Save As.

9. Open the Component Database Manager by selecting Component Database
Manager from the Tools menu. The Component Database Manager window appears.

10. Import the Verbose Event Log component to the Component Database by
choosing Import under the Database tab. The Import SLD window appears.

11. Browse to the location of the Verbose Event Logging component and
choose Open.

12. In the Import SLD window, choose Import. The component is added to the
database.

The Verbose Event Logging component can now be added to your configuration
in Target Designer.



Dan
 
Wayne:

At a minimum, you need the "Event Log" component but you probably already
have this component.
Lotsa components do not contain the proper registry keys so that you
actually see log messages in the event logs. For example, for the "NTFS"
file system component I had to add the following into a custom component:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System\ntfs]
"EventMessageFile"=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,53,79,73,74
,\
65,6d,33,32,5c,49,6f,4c,6f,67,4d,73,67,2e,64,6c,6c,00
"TypesSupported"=dword:00000007

In my opinion, these registry keys should be part of the NTFS component.

HTH... Doug
 
Wayne,

Just to add to previous posts, you may also want to copy over drvmain.sdb
file from XPE Repository to target \WINDOWS\AppPatch\ directory. That will
fix some event descriptions in your future event log. (You can include the
drvmain.sdb into any of your components or use Extra Files in TD).

KM

WT> Hello All,

WT> Does any one know what components are required so you get complete
WT> error statements?

WT> Thanks in advance.

WT> Wayne Taylor


With best regards, KM. E-mail: (e-mail address removed)
 
Dan:

Should the key include XPEAgent or DUAgent? The DUA component already has
registry data at the DUAgent location, so I'm wondering if this should
really be XPEAgent.

Thanks...
.... Doug
 
Hi Doug

The key is XPEAgent. Otherwise, DUA does not show up in the Event Log.

tks,
Dan

--
This posting is provided "AS IS" with no warranties, and confers no rights.


Doug Hoeffel (eMVP) said:
Dan:

Should the key include XPEAgent or DUAgent? The DUA component already has
registry data at the DUAgent location, so I'm wondering if this should
really be XPEAgent.

Thanks...
... Doug
Dan Simpson said:
The component to add is called:

Event Log

Also, you may want to enable Verbose Event Logging:

You can facilitate troubleshooting Device Update Agent by creating a
component that enables verbose event logging in the Windows Event Log
Viewer.

To create and add verbose event logging component to your configuration

1. Open Component Designer.

2. Create a new component definition file by choosing File, then
New.
 
Back
Top