Profiler Issue - I can connect but I see nothing

11 posts, 0 answers
  1. Seabus
    Seabus avatar
    33 posts
    Member since:
    Jun 2011

    Posted 15 Jul 2011 Link to this post

    Hi,

    I upgraded to the latest version of OpenAccess and I did all the steps described in the help document to set up the Profiler for real time monitoring.

    Unfortunately even though the Profiler can connect to the server succesfully  --  I don't see any statements in the "Profiler" ( as I'm browsing my web app that uses OpenAccess  )

    Are you familiar with this issue ? What could be wrong ?

    I also need to explain how my solution is organized:
    I have two projects : # 1 is "App.MyProject" and #2 is "OpenAccess.MyProject" ..... OpenAcess.MyProject contains the OpenAccess stuff and App.MyProject contains just the web pages that use the ORM ....  I added the reference to ServiceHost to both projects.  I put the lines to start and stop the server in the Global.asax.cs file of the App.MyProject project.


    Any help would be greatly appreciated.
    Seabus

    P.S OpenAccess is a great product and the Telerik people who hang out on this message board and answer questions always do a great job and are an extraordinary resource.

  2. Michael Josiah
    Michael Josiah avatar
    92 posts
    Member since:
    Nov 2007

    Posted 15 Jul 2011 Link to this post

    Go to your backend settings for your model and make sure logging level is at least set to default. I bet its currently set to error monitoring which would explain why you cant see any logs.
  3. DevCraft banner
  4. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 18 Jul 2011 Link to this post

    Hi Seabus,

    Michael is right, this could be the reason why you are not seeing any events. If you change to a higher log level but still do not see any events, please check if there are any errors in the status bar:


    Clicking on the error icon would open the details dialog where you can see the full information about the exception.

    Best wishes,
    Alexander
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  5. Kris
    Kris avatar
    6 posts
    Member since:
    Jan 2010

    Posted 11 Aug 2011 Link to this post

    Hi,

    I have the same issue than Seabus for my project.
    In real-time, i can connect, i see errors but nothing more

    As you explain, i change the backend settings (tab : Tracing & logging )
    I put LogLevel to normal and to all without any changes ...

    Have I forgot something please ?

    Thanks in advance.
    Kris
  6. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 12 Aug 2011 Link to this post

    Hi Kris,

    You said that you see errors. Would you please click on the error icon to open the Errors & Warnings dialog and send us the exception message, probably it would lead us to the problem?

    All the best,
    Alexander
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  7. Kris
    Kris avatar
    6 posts
    Member since:
    Jan 2010

    Posted 12 Aug 2011 Link to this post

    Hi Alexander,

    Now, i have the following exception :

    System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.ObjectDisposedException: The socket connection has been disposed.
    Object name: 'System.ServiceModel.Channels.SocketConnection'.
    --- End of inner exception stack trace ---
    at System.ServiceModel.Channels.SocketConnection.ThrowIfNotOpen()
    at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
    at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    --- End of inner exception stack trace ---
    at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    --- End of inner exception stack trace ---

    Server stack trace:
    at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
    at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
    at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    at System.ServiceModel.Channels.MaxMessageSizeStream.Read(Byte[] buffer, Int32 offset, Int32 count)
    at System.ServiceModel.Channels.SingletonConnectionReader.Close(TimeSpan timeout)
    at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.Close()
    at System.ServiceModel.Channels.DelegatingStream.Close()
    at System.Xml.XmlBufferReader.Close()
    at System.Xml.XmlBaseReader.Close()
    at System.Xml.XmlBinaryReader.Close()
    at System.Xml.XmlReader.Dispose(Boolean disposing)
    at System.Xml.XmlReader.System.IDisposable.Dispose()
    at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)
    at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)
    at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    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 Telerik.OpenAccess.ProfilerClient.ProfilerService.IProfilerService.GetEventsById(String databaseName, Int32 fromId)
    at Telerik.OpenAccess.ProfilerDataAdapter.OnlineLogEventAdapter.Run()

    The configuration may be correct because i have some logs in output trace when i execute my applicaiton.

  8. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 16 Aug 2011 Link to this post

    Hi Kris,
    This looks like the connection to your running application has been closed. Can it be that you application is only running for a short time and the profiler is too slow to download the data?
    If that is the case, just let your application run until the profiler shows some data.

    Regards,
    Jan Blessenohl
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  9. Henk
    Henk avatar
    113 posts
    Member since:
    Apr 2006

    Posted 07 Sep 2011 Link to this post

    Hi,

    I receive the same errors as Kris.
    I am trying to use the profiler with my WCF RIA service.
    Is it possible to use the profiler with a WCF RIA service?
  10. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 08 Sep 2011 Link to this post

    Hello Henk,
    We have made the web service more robust in the next version. We are releasing a custom build by tomorrow. Is there a chance for you to upgrade?

    Regards,
    Jan Blessenohl
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

  11. Henk
    Henk avatar
    113 posts
    Member since:
    Apr 2006

    Posted 09 Sep 2011 Link to this post

    Hello Jan,

    It is no problem to upgrade.
    Will this custom build be released as internal build from the Telerik website?
  12. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 09 Sep 2011 Link to this post

    Hi Henk,
    I have just released the build, please download it under latest internal builds.

    Best wishes,
    Jan Blessenohl
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

Back to Top
DevCraft banner