Microsoft Visual C++ Runtime Library

Brian DonahueBrian Donahue Posts: 6,590 New member
Hi,

Sorry for the delay in my answer. This problem has occurred before in
the past and we had tried several ways of fixing it. Finally, we came up
with the best solution to the problem last week and released a patch.

The error was caused by a problem with a results parsing routine that
has been re-written in the new version (1.22). To get this version, just
download the current version of ANTS Profiler from www.red-gate.com

Thanks,

Brian Donahue
Red Gate Technical Support



"SP" <[email protected]> wrote in message
news:[email protected]
> I am trying to profile a web application.
> I click on the "Start Profiling" link, and the control says starting
> profiler, stopping iis etc.
> Then when I click Stop on the control, I get the following error
>
> ========================================================
>
> Microsoft Visual C++ Runtime Library
>
> Runtime Error!
>
> Program: C:WINDOWSMicrosoft.NETFrameworkv1.0.3705aspnet_wp.exe
>
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
>
>
>
> OK
>
> ========================================================
>
> And of course, the results don't appear. Instaed the following dialog
> appears
>
> ========================================================
>
>
> Stop profiling
>
> There was a problem stopping the profiler - the process being profiled
might
> have already exited.
>
> Please check the event log for more details
>
> OK
>
>
> ========================================================
>
> The event viewer gives the following error details
>
> ========================================================
> System.Exception: Problem getting results --->
> System.IndexOutOfRangeException: Index was outside the bounds of the
array.
> at RedGate.Profiler.Transfer.BigBlock.ReadString()
> at RedGate.Profiler.Transfer.PipeHandler.ReadProfilingInformation()
> at RedGate.Profiler.Transfer.PipeHandler.GetProfilingInformation()
> at RedGate.Profiler.Transfer.PipeServer.GetProfilingInformation()
> at RedGate.Profiler.Engine.ProfilingSession.GetResults()
> at RedGate.Profiler.Engine.ProfilingSession.StopProfiler()
> --- End of inner exception stack trace ---
> Server stack trace:
> at RedGate.Profiler.Engine.ProfilingSession.StopProfiler()
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
> hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
> fExecuteInContext, Object[]& outArgs)
> at
>
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMess
> age msg, IMessageSink replySink)
> Exception rethrown at [0]:
> at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message
reqMsg,
> Boolean bProxyCase)
> at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed,
> MessageData& msgData)
> at RedGate.Profiler.UI.a.EndInvoke(IAsyncResult result)
> at RedGate.Profiler.UI.frmMain.b(IAsyncResult )
> For more information, see Help and Support Center at
> =========================================================
> The environment:
> Windows XP Pro
> Microsoft .NET ver 1.0
>
>
> Any ideas?
>
> Thanks.
>
>
This discussion has been closed.