I am trying to use the ANTS Profiling service to profile a .NET web app (on
my machine). I have XP SP2 with the Firewall turned off (my company's
security policy sets this). I have talked to ANTS support, but they have no
idea. The service is running and listening on port 8087 (as expected).
I have tried connected with localhost, my machine name, my ip address, and
always get the same error. The .NET web app runs fine and is also
debuggable (all on port 80). I am using .NET 1.1 I am curious as to why
IPEndPoint address is null:
Here's my log:
Description:
Unable to start profiler - exception details System.ArgumentNullException:
Value cannot be null.
Parameter name: address
Server stack trace:
at System.Net.IPEndPoint..ctor(IPAddress address, Int32 port)
at System.Runtime.Remoting.Channels.RemoteConnection. .ctor(SocketCache
socketCache, String machineAndPort)
at System.Runtime.Remoting.Channels.SocketCache.GetSo cket(String
machineAndPort)
at
System.Runtime.Remoting.Channels.Tcp.TcpClientTran sportSink.SendRequestWithRetry(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream)
at
System.Runtime.Remoting.Channels.Tcp.TcpClientTran sportSink.ProcessMessage(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
at
System.Runtime.Remoting.Channels.BinaryClientForma tterSink.SyncProcessMessage(IMessage
msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at RedGate.Profiler.Engine.ServiceHelper.remove_Statu s(StatusEventHandler
value)
at RedGate.Profiler.Engine.ProfilingSession.StartProf iler()
at
System.Runtime.Remoting.Messaging.StackBuilderSink .PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink .AsyncProcessMessage(IMessage
msg, IMessageSink replySink)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvok eHelper(Message
reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invo ke(Object NotUsed,
MessageData& msgData)
at System.Windows.Forms.MethodInvoker.EndInvoke(IAsyn cResult result)
at ?.?(IAsyncResult )