IpEndPoint is null error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tim Mavers (webview_at_hotmail.com)
Date: 02/04/05


Date: Thu, 3 Feb 2005 18:03:28 -0600

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.GetSocket(String
machineAndPort)
   at
System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream)
   at
System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
   at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage
msg)

Exception 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.ServiceHelper.remove_Status(StatusEventHandler
value)
   at RedGate.Profiler.Engine.ProfilingSession.StartProfiler()
   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.EndInvokeHelper(Message
reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed,
MessageData& msgData)
   at System.Windows.Forms.MethodInvoker.EndInvoke(IAsyncResult result)
   at ?.?(IAsyncResult )