Confused about Profiler Setup

9 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 13 Jul 2011 Link to this post

    Ok, so I followed this document
    ms-help://telerik.openaccess.orm/telerik.openaccess.programmers/openaccess-profiler-how-to-configure-project-real-time-profiling.html

    I'm confused by the "Connect To" part.

    • So I assume server is the IIS project on my machine...so I enter that
    • I have the port set to the port I chose in the web.config
    • For the connection name I enter the <add name= from my web.config

    But I keep getting login failed...?
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 14 Jul 2011 Link to this post

    Hello Steve,
    Looks like your setup is already right. The server is the machine name on which your process runs, in your case maybe 'localhost'. The port is indeed what you have specified in your applications code. After you have typed in these two entries, the connection combo box should already list all databases available in your running instance. Clicking the test connection button should show you the exception if it cannot find the server. If you think that everything is configured right and you click ok, the profiler constantly tries to connect to your application. If you click now on the warning or error symbol in the status bar, you should see the connection errors with more information in a popup window.

    Regards,
    Jan Blessenohl
    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!

  3. DevCraft banner
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 14 Jul 2011 Link to this post

    That was it, localhost, thanks :)
  5. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 14 Jul 2011 Link to this post

    Hey Jan, Quick Q

    I'm getting SQL Events and Linq events....but no Metrics charting data is showing up

    How do I turn that on, or what might be going wrong?...do I have to save\load results or is it automatic
  6. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 15 Jul 2011 Link to this post

    Hi Steve,
    Did you specify:

    // defines the size of the metric store in memory
    backend.Runtime.MetricCapacity = 3600;

    Best wishes,
    Jan Blessenohl
    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!

  7. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 15 Jul 2011 Link to this post

    Ok, so that's a backend setting in the Domain Model?

    So I dont see that listed in the docs for the profiler, and I don't see it in the settings of my domain model.

    Where should I put the code?  in the Global.asax before I start the profiler?

    Thanks,
    Steve
  8. David
    David avatar
    19 posts
    Member since:
    Jun 2008

    Posted 15 Jul 2011 Link to this post

    I am having the same problem, I'm running the profiler connected to my application but nothing shows up in the profiler whenever a db call is made. How and where do we set the backend settings?
  9. David
    David avatar
    19 posts
    Member since:
    Jun 2008

    Posted 15 Jul 2011 Link to this post

    Ok I worked it out:

    Add the following partial class and rename it to your own context:

    public partial class EntitiesModel
    {
       static EntitiesModel()
       {
           // Defines the size of the metric store in memory.
           backend.Runtime.MetricCapacity = 3600;
     
           // Defines the size of the event store in memory.
           backend.Logging.MaxEvents = 10000;
     
           // Defines the log level.
           backend.Logging.LogEvents = Telerik.OpenAccess.LoggingLevel.Normal;
     
           // Appends StackTrace information.
           backend.Logging.StackTrace = true;
     
     
       }
    }

  10. David
    David avatar
    19 posts
    Member since:
    Jun 2008

    Posted 15 Jul 2011 Link to this post

    I really like the profiler. I can see what is going on realtime and determine if a delay is caused by a sql call.
Back to Top
DevCraft banner