The standalone web server did not start correctly. This may

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

The standalone web server did not start correctly. This may

Postby Schluper » Sat Jul 18, 2009 6:39 pm

I am trying to run the memory profiler against an ASP.NET web application hosted on the local machine running in IIS7 (Windows Server 2008)

The ASP.NET web application is hosted on the default web site, on the default port (80).

The web application pool has been configurd to run as a user with domain network priveledges. The web application pool is configured to run as the user gpierson. I also tried not specifying the user and using the default user.

When I attempt to profile the web app, I get the above error message. Full error message has been copied below:

The standalone web server did not start correctly. This may be because gpierson is not an administrator of this computer.
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at eU.Launch()
at RedGate.Memory.Controller.Session.ProfilerSession.i()

Caused by:

The standalone web server did not start correctly. This may be because gpierson is not an administrator of this computer.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at eZ.PerformLaunch()
at eU.Launch()

Caused by:

The standalone web server did not start correctly. This may be because gpierson is not an administrator of this computer.
RedGate.Profiler.Engine.Startup.IIS.IISException
stack trace:
at eC.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
at RedGate.Profiler.Engine.Startup.IIS.IISStarter`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at RedGate.Profiler.Engine.Startup.IIISActuator`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue)
at eZ.PerformLaunch()
Schluper
 
Posts: 1
Joined: Sat Jul 18, 2009 6:32 pm

Postby Chris.Allen » Tue Jul 21, 2009 1:57 pm

This sounds like its a problem with restarting the IIS service which is needing an account with admin rights. Is it true that gpierson is not an administrator of this computer? Are you able to run ANTS as a user with admin rights?
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests