IntelliTrace collector error Some or all identity references could not be translated

Posted by Tarun Arora on Geeks with Blogs See other posts from Geeks with Blogs or by Tarun Arora
Published on Sun, 14 Oct 2012 19:15:00 GMT Indexed on 2012/10/14 21:38 UTC
Read the original article Hit count: 254

Filed under:

 

If you are running the IntelliTrace stand alone collector to collect the trace against an Application Pool which is running under the identity “.\<username>” then you are likely to run into the following exception,

Start-IntelliTraceCollection : Some or all identity references could not be translated.

At line:1 char:29

+ Start-IntelliTraceCollection <<<<  "FabrikamFiber.Web" C:\IntelliTraceCTP\collection_plan.ASP.NET.trace.xml C:\Intell

iTraceLogs

    + CategoryInfo          : NotSpecified: (:) [Start-IntelliTraceCollection], IdentityNotMappedException

    + FullyQualifiedErrorId : System.Security.Principal.IdentityNotMappedException,Microsoft.VisualStudio.IntelliTrace

   .PowerShell.StartIntelliTraceCollectionCommand

 

Steps to reproduce the issue

The application pool “FabrikamFiber.Web” is using the identity “.\Admin”

image

image

 

Workaround

Change the identity of the application pool to <MachineName|Domain>\<UserName>. So, in the above work around if I change the identity to “Production\Admin” then the IntelliTrace does not throw an exception.

image

image

This error has been reported to Microsoft and it is expected that it will be fixed in one of the future releases.

Enjoy! Star

© Geeks with Blogs or respective owner