Can't start Profiler - "Couldn't look up the account name"

I get message:

There was a problem starting the profiler. Check that the ANTS Profiler service and IIS are running.

Couldn't look up the account name (1332)
...

Event log shows...

System.Exception: Couldn't look up the account name (1332)

Server stack trace:
at RedGate.Profiler.Engine.ServiceHelper.ᐄ(String )
at RedGate.Profiler.Engine.ServiceHelper.ᐃ(String )
at RedGate.Profiler.Engine.ServiceHelper.StartProfilingIIS(String currentUserName)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at RedGate.Profiler.Engine.ProfilingSession.StartProfiler()
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at RedGate.Profiler.UI.ᐃ.EndInvoke(IAsyncResult result)
at RedGate.Profiler.UI.frmMain.ᐁ(IAsyncResult )

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hi,

    This means that ANTS Profiler couldn't get the necessary information from your machine.config file. If you look for the processModel tag in machine.config, there is a user and password there. MACHINE uses the localsystem account, System uses the ASPNET or Ntwork Service Account, or you can specify the user that runs ASP .net applications with their username and password. Can you find this information in your machine.config file?
  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hi,

    We don't have a workaround for this at the moment. The only way to get it working is to put the user and password as plain-text in the machine config. :-(
Sign In or Register to comment.