Options

Error profiling ASP.NET on Windows Server 2003

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
Hi John,

There is a difference in the way that IIS 6 works as compared to IIS 5.
I will send you a patch for Profiler that works with IIS 6, but you have to
configure your IIS to run in IIS 5 isolation mode.

Regards,

Brian Donahue
Red Gate Technical Support

"John Lemp" <newsgroup@graavy.com> wrote in message
news:xTsMCo$ODHA.1176@server53...
> ANTS Profiler dies on stopping W3SVC. The event log error messages are
> below. The machine is a Windows 2003 Server Standard and I am logged on
> locally with an account with Admistrative privledges.
>
> Event Type: Error
> Event Source: ANTS Profiler
> Event Category: None
> Event ID: 0
> Date: 6/26/2003
> Time: 11:35:28 AM
> User: N/A
>
> Description:
> System.Exception: Error stopping IISAdmin ---> System.Exception: Couldn't
> stop the 'IISAdmin' service (1051)
> at RedGate.Profiler.Engine.ServiceHelper.b(String )
> at RedGate.Profiler.Engine.ServiceHelper.StopProfilingIIS()
> --- End of inner exception stack trace ---
>
> Server stack trace:
> at RedGate.Profiler.Engine.ServiceHelper.StopProfilingIIS()
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
> hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext, Object[]& outArgs)
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
> ge msg, Int32 methodPtr, Boolean fExecuteInContext)
>
> Exception rethrown at [0]:
> at RedGate.Profiler.Engine.ProfilingSession.StopProfiler()
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
> hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext, Object[]& outArgs)
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMess
> age 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.a.EndInvoke(IAsyncResult result)
> at RedGate.Profiler.UI.frmMain.b(IAsyncResult )
>
>
> And this error:
>
> Event Type: Error
> Event Source: ANTS Profiler
> Event Category: None
> Event ID: 0
> Date: 6/26/2003
> Time: 11:35:28 AM
> User: N/A
> Description:
> System.Exception: Couldn't stop the 'IISAdmin' service (1051)
> at RedGate.Profiler.Engine.ServiceHelper.b(String )
> at RedGate.Profiler.Engine.ServiceHelper.StopProfilingIIS()
>
>
>

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    ANTS Profiler 2.0 and up now support IIS 6 without the need to run in IIS 5 isolation mode. The only requirement is that the DefaultAppPool is available. (Your web app doesn't need to be running in the default application pool; the app pool just needs to be present.)
This discussion has been closed.