Data Collector fails with stack overflow error

A command-line utility such as the Data Collector fails due to a stack overflow error.

Symptoms

You changed the default Lightweight Third Party Authentication (LTPA) cookie name and now a command-line utility like the Data Collector fails. A stack overflow occurs because the new cookie name does not contain the LtpaToken string. The command-line utility cannot find the new cookie without this string.

Cause

The new cookie name does not include LtpaToken. You changed the default Lightweight Third Party Authentication (LTPA) cookie name and now a command-line utility like the Data Collector fails.

Resolution

To ensure that the Data Collector can detect the cookie, you must include LtpaToken in the cookie name. For example, if the LTPA cookie is named LogAnalysis, you must rename it LogAnalysis_LtpaToken.