ANTS Profiler 5 not working on server 2003 64
whoknewdk
Posts: 3
Hi,
My machine is running the following.
Server 2003 64bit, IIS6 in 32bit mode.
I already had ANTS Profiler 4 running on my machine and followed the suggestion of upgrading to 4.3. In order to do the upgrade I had to manually stop the top ANTS Services. After the install i started the two services and from then on it has not been working properly. I tried rebooting and such without any luck.
I Then uninstalled ANTS 4.3 and downloaded ANTS 5 still it was not working. I gave up but after 1 hour or so my local websites failed to work. After hours of debugging and googling i found this thread:
http://www.red-gate.com/supportcenter/C ... 000362.htm
I followed the instructions and the sites are now working but ANTS still wont start. Here is the error message:
I am using the option of an unused port.
Hope you can help me out.
Kind Regards
Jacob
My machine is running the following.
Server 2003 64bit, IIS6 in 32bit mode.
I already had ANTS Profiler 4 running on my machine and followed the suggestion of upgrading to 4.3. In order to do the upgrade I had to manually stop the top ANTS Services. After the install i started the two services and from then on it has not been working properly. I tried rebooting and such without any luck.
I Then uninstalled ANTS 4.3 and downloaded ANTS 5 still it was not working. I gave up but after 1 hour or so my local websites failed to work. After hours of debugging and googling i found this thread:
http://www.red-gate.com/supportcenter/C ... 000362.htm
I followed the instructions and the sites are now working but ANTS still wont start. Here is the error message:
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:
Object reference not set to an instance of an object.
System.NullReferenceException
stack trace:
at RedGate.Profiler.Engine.Startup.IIS.IIS6Utilities.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()
I am using the option of an unused port.
Hope you can help me out.
Kind Regards
Jacob
Comments
It should be possible to work around this issue in most cases without affecting how your server works by reconfiguring it.
There are three main causes of this issue in ANTS 5:
Sites distinguished by IPv6 addresses instead of IPv4. The profiler currently treats all of these as the same. The solution is to assign IPv4 addresses and give them to the profiler instead.
Sites configured by hostname, with a default site with a blank hostname. The profiler currently will treat any of the sites with a specific hostname as ambiguous with the default one. Assigning a specific hostname to all of the sites will work around this issue.
Similarly, assigning a specific IP address to some sites and wildcards to others will give the profiler a problem. Giving all sites a specific address or all sites a wildcard address should work around this.
Software Developer
Red Gate Software Ltd.
I should mention that all of this is my local machine. I currently have two websites running both of which are acces by unique "xxx.localhost" hostnames.
The 1st site produces the prior error. The other site produces this error in the browser:
So none of your suggestions apply.
Kind Regards
Jacob