Exception on startup
kdreibel
Posts: 3
Hi, I purchased ANTS a couple of months ago, and have had trouble using it lately. I have version 3.2.0.27 on Windows Vista. When ANTS starts up, it brings up the first screen, but before I can do anything, it throws an error which kills the profiler. I opened the error in visual studio, and it was:
System.Net.Sockets.SocketException was unhandled
Message="No such host is known"
Source="System.Windows.Forms"
ErrorCode=11001
NativeErrorCode=11001
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at _5._2()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
I tried uninstalling everything and installing again, but that didn't fix it. I applied the patch mentioned in http://www.red-gate.com/MessageBoard/vi ... php?t=7249 , but I still get the error. Any ideas? This error is making the profiler unusable for me.
-kd
System.Net.Sockets.SocketException was unhandled
Message="No such host is known"
Source="System.Windows.Forms"
ErrorCode=11001
NativeErrorCode=11001
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at _5._2()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
I tried uninstalling everything and installing again, but that didn't fix it. I applied the patch mentioned in http://www.red-gate.com/MessageBoard/vi ... php?t=7249 , but I still get the error. Any ideas? This error is making the profiler unusable for me.
-kd
Comments
Depending on where and when this happens (profiling a web application, on startup, etc) it's probably a matter of putting the local machine name in the %systemroot%\system32\drivers\etc\hosts if it does not exist in Domain Name Services.