Ants Profiler 2 - Profilder can't start - Event Log Error

Hi,

I just downloaded the Trial and can't get the Profiler running.
When I start it, local IIS is stopped but Profiler fails
see error below: Is their some Custom Log Event that needs to be registered ?

Thanks, Paul

Windows XP sp2
IIS 5
VS.NET 2005

There was a problem starting the profiler
unable to set profiling environment data for ASP.Net user - failed to get user profile

Please check event log for details.

webevent

The following exception was thrown by the web event provider 'EventLogProvider' in the application '/NaimesWeb' (in an application lifetime a maximum of one exception will be logged per provider instance):

System.Web.HttpException: The EventLogWebEventProvider provider failed to log an event with the error code 0x800705DE.
at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised)
at System.Web.Management.WebBaseEvent.RaiseInternal(WebBaseEvent eventRaised, ArrayList firingRuleInfos, Int32 index0, Int32 index1)

For more information, see Help and Support Center at

Comments

  • Hi again,

    I added Health Monitoring Section to my web.config and the Logging problem went away ? ( not sure )

    <healthMonitoring enabled="true">
    <!-- Event Log Provider being added. -->
    <providers>
    <add name="EventLogProvider" type="System.Web.Management.EventLogWebEventProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <!-- Event mapping provides a friendly name to the events based on the WebBaseErrorEvent class. -->
    <eventMappings>
    <add name="All Errors" type="System.Web.Management.WebBaseErrorEvent,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"
    startEventCode="0" endEventCode="2147483647" />
    </eventMappings>
    <!-- Rule tying the "All Errors" event mapping to the EventLog Provider. -->
    <rules>
    <add name="All Errors Default" eventName="All Errors" provider="EventLogProvider"
    profile="Default" minInstances="1" maxLimit="Infinite" minInterval="00:01:00"
    custom="" />
    </rules>
    </healthMonitoring>


    I got the next problem in the Event Log regarding a Socket Connection.

    Looks like I need some type of Remoting Enabled in my web.config ? ( not familiar with this )

    This is a web site application and not a WinForms application using Remoting.

    Thanks, Paul

    ...
    System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

    Server stack trace:
    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
    at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
    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.ProfilingSession.ServiceStatusCallback(Object sender, StatusEventArgs e)
    at RedGate.Profiler.Engine.ProfileIISController._1(StatusEventArgs )
    at RedGate.Profiler.Engine.ProfileIISController._5()

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
  • Hi again,

    I wanted to add that I don't see the Ants Profiler Service in the Services List on my laptop.

    Should this service be showing in the Services List and started ?

    Running Asp.Net 2.0 IIS 5 on Win XP sp2.

    Thanks, Paul
  • Hi again,

    I rebooted my Laptop and tried to start the profiler and get the Original Error that I started this thread with.

    I notice that my windows firewall has 2 Ants Profiler 3 entries.
    I thought I have Ant Profiler 2 showing the About Dialog.
    Still confused...

    Unable to start profiler - exception details System.Exception: Unable to set profiling environment data for ASP.NET user - Failed to get user profile

    Server stack trace:
    at RedGate.Profiler.Engine.ProfileIISController._1(String , String , String )
    at RedGate.Profiler.Engine.ProfileIISController._1(String , FrameworkVersion , IISVersion )
    at RedGate.Profiler.Engine.ProfileIISController.StartProfilingIIS(String currentUserName, String& url, WebApplicationDefinition appDef)
    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.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:
    at RedGate.Profiler.Engine.ProfilingSession.StartProfiler()
    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.PrivateProcessMessage(RuntimeMethodHandle md, 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 _5._4(IAsyncResult )

    For more information, see Help and Support Center at

    Thanks, Paul
  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I believe we are dealing with this in the Profiler version 3 forum. Please correct me if I'm wrong...
  • Hi Brian,

    Yes, this is the same issue.
    So we can close this one.

    Thanks, Paul
Sign In or Register to comment.