My quest to bring Best Practices to Identity Management especially with Microsoft FIM / ILM

Saturday, November 1, 2008

Under the hood of ILM 2 -- Part 2 Read the WCF Trace!

Take a look at Part 1 to enable tracing

To view the log you need to have installed the Windows SDK and then you use the Service Trace Viewer

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SvcTraceViewer.exe

If the file is over 50 MB you will get the partial loading screen like this one. Try and limited the estimated size, if you open too much it will be very slow. Even 20 MB can be really slow.


If you need to adjust this after you open the file you can


To view what is happening you click on Activity 00000000000000 and then browse through the  actions


Most of it is just noise -- "The Policy Application Manager is executing" or "The Policy Application Manager has finished executing" (the first two showing below.


Take a look at the next action ExecuteQuery.ExecuteReader where in it is retrieving a list of Workflow Definitions objects (See the detail information where it shows the XPath query filter inside the parenthesis

Query: QueryProcessor.ExecuteQuery.ExecuteReader(/WorkflowDefinition)


The you can see how it retrieves the objects that were returned as part of the query


The process continues to retrieve objects and then sets up a WorkflowServiceHost for the workflows


Labels: , ,


Post a Comment

Links to this post:

<< Home