Red Gate forums :: View topic - Start Error: Couldn't determine the IIS Site associated with
Return to www.red-gate.com RSS Feed Available

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

Start Error: Couldn't determine the IIS Site associated with

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
gspotweb



Joined: 21 Sep 2009
Posts: 4

PostPosted: Mon Sep 21, 2009 12:08 pm    Post subject: Start Error: Couldn't determine the IIS Site associated with Reply with quote

Hi there

Just downloaded and installed the trial version but when I try to start the profiler i get the following error:

(am running IIS on Windows 7)

The site I'm trying to profile is working fine and is being served by IIS7.

Error:

Couldn't determine the IIS Site associated with URL 'http://www.xxx.local/'. Please check that the URL is serviced by the instance of IIS running on this machine
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at bJ.Launch()
at RedGate.Profiler.Session.ProfilerSession.j()

Caused by:

Couldn't determine the IIS Site associated with URL 'http://www.xxx.local/'. Please check that the URL is serviced by the instance of IIS running on this machine
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at bQ.PerformLaunch()
at bJ.Launch()

Caused by:

Couldn't determine the IIS Site associated with URL 'http://www.xxx.local/'. Please check that the URL is serviced by the instance of IIS running on this machine
RedGate.Profiler.Engine.Startup.IIS.IISException
stack trace:
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.a(String , Uri , Boolean , Int32 )
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.GetW3wpArgs(Uri url, Boolean profileOnNewPort, Int32 newPort)
at bp.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 bQ.PerformLaunch()
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 589

PostPosted: Mon Sep 21, 2009 3:46 pm    Post subject: Reply with quote

Is the web site on the same machine that you are profiling (the .NET profiling API can't work remotely)?

If they are on the same machine - try using IP adress, or just localhost. I have seen some odd issues with resolving names.
Back to top
View user's profile Send private message
gspotweb



Joined: 21 Sep 2009
Posts: 4

PostPosted: Tue Sep 22, 2009 8:10 am    Post subject: Reply with quote

The website is on the same PC as VS and ANTS

IIS7 is running several websites on this machine and I use the hosts file to provide name resolution.

I guess I could just switch off all the sites other than the one I'm testing and then just use the IP address.
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 589

PostPosted: Tue Sep 22, 2009 1:22 pm    Post subject: Reply with quote

Please try that and let me know if it works better.
Back to top
View user's profile Send private message
gspotweb



Joined: 21 Sep 2009
Posts: 4

PostPosted: Tue Sep 22, 2009 5:12 pm    Post subject: Reply with quote

OK, tried that on just the one IP address but got this:

Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at bJ.Launch()
at RedGate.Profiler.Session.ProfilerSession.j()

Caused by:

Could not start IIS.
RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException
at bQ.PerformLaunch()
at bJ.Launch()

Caused by:

No such host is known
System.Net.Sockets.SocketException
stack trace:
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6, Boolean throwOnFailure)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at RedGate.Profiler.Engine.Startup.IIS.IISUtilities.a(Uri )
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.GetApplicationPool(Uri uri)
at RedGate.Profiler.Engine.Startup.IIS.IIS7Utilities.GetIISinx64(Uri url)
at bp.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 bQ.PerformLaunch()
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 589

PostPosted: Tue Sep 22, 2009 5:18 pm    Post subject: Reply with quote

Can you try 127.0.0.1?
Back to top
View user's profile Send private message
gspotweb



Joined: 21 Sep 2009
Posts: 4

PostPosted: Wed Sep 23, 2009 3:06 pm    Post subject: Reply with quote

Thats done it. I now have a profile for my web application

Now I have to figure out what it all means...
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