Running Standalone Intellitrace Collector - step by step

Step 1:

Download the Standalone Intellitrace Collector https://go.microsoft.com/fwlink/?LinkId=245688

Step 2:

Run the Standalone Intellitrace Collector. This will create the IntelliTraceCollection.cab file in the specified directory.

Step 3:

Expand the .cab file using this command:

expand /f:* IntelliTraceCollection.cab

This preserves the folder structure of the collector files, which is important for later steps in this topic

Step 4: Setup permission for Log Collection Directory.  Make sure the collector installation directory is secure. Configure only these permissions to this directory:

  • Full permissions for the server administrator. For Web apps, full permissions for the person who will run PowerShell commands to collect data.
  • For Web apps, read and execute permissions for application pool identities to access the collector installation directory.

Step 5: Open Powershell command prompt. I am assuming that the cab file is extracted at c:.

Step 6: Import Intellitrace Module by running command.  Import-Module c:\IntelliTrace\Microsoft.VisualStudio.IntelliTrace.PowerShell.dll

Step 7: Start the collection process:

Start-IntelliTraceCollection "<TYPE APPPOOL FULL NAME>" c:\IntelliTrace\collection_plan.ASP.NET.trace.xml c:\LogFileLocation

Step 8: Get the Collection Status to check whether something is getting captured or not:

Get-IntelliTraceCollectionStatus -ApplicationPool "<APP POOL FULL NAME>"

Step 9: Stop Intellitrace collection

Stop-IntelliTraceCollection "<APP POOL FULL NAME>"

Step 10: Get the iTrace file generated in c:\LogFileLocation folder and send it to a developer or tester for a more detailed look. (if you not the one)