Red Gate forums :: View topic - Fails to profile ASP.net Could not start IIS.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 8
ANTS Performance Profiler 8 forum

Fails to profile ASP.net Could not start IIS.

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
nathaniel.garneau



Joined: 17 Jan 2014
Posts: 2

PostPosted: Fri Jan 17, 2014 11:13 pm    Post subject: Fails to profile ASP.net Could not start IIS. Reply with quote

Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at ..Launch()
at ?.?.?(ISessionStarter`1 , ProjectSettings )

Caused by:

Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at ..()
at ..Launch()

Caused by:

Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at ?.?.??()
at ..??( )
at ..()

Caused by:

Sequence contains no elements
System.InvalidOperationException
stack trace:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.??(String , Uri , Boolean , Int32 )
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.(Uri , Boolean , Int32 )
at ..(Uri , IISUtilities )
at ..StartProfilingIIS(String , String )
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, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
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 ?.?.??()

I've done the usual , run as administrator. I can attach using iis express from VS2013, but my application isnt properly usable in that environment.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 230

PostPosted: Mon Jan 20, 2014 6:03 pm    Post subject: Reply with quote

Hi Nathaniel,

Thanks for your post!

Hm that's interesting, I don't think I've seen this error come up before starting an IIS profilng session.

When it's thrown, could you kindly send in an error report to Red Gate with your email address so I can check the unobfuscated stack trace?

Can I also check--are you profiling on the original port or an unused port? Is the error thrown either way?
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
nathaniel.garneau



Joined: 17 Jan 2014
Posts: 2

PostPosted: Mon Jan 20, 2014 11:43 pm    Post subject: Reply with quote

The exception is thrown either way on unused or original ports.

I have sent the error with my email attached, via the crash report process within performance profiler.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 230

PostPosted: Tue Jan 21, 2014 12:15 am    Post subject: Reply with quote

Thanks for sending the report over!

It seems like the profiler is having trouble reading your applicationHost.config file. I've just shot you an email--could you kindly reply and attach this config file (located in C:\Windows\System32\inetsrv\config)? I'll take a look for anything interesting.
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group