This is a migrated thread and some comments may be shown as answers.

Confused about Profiler Setup

8 Answers 83 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 13 Jul 2011, 06:28 PM
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...?

8 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 14 Jul 2011, 12:44 PM
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!

0
Steve
Top achievements
Rank 2
Veteran
answered on 14 Jul 2011, 04:08 PM
That was it, localhost, thanks :)
0
Steve
Top achievements
Rank 2
Veteran
answered on 14 Jul 2011, 07:55 PM
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
0
Jan Blessenohl
Telerik team
answered on 15 Jul 2011, 08:29 AM
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!

0
Steve
Top achievements
Rank 2
Veteran
answered on 15 Jul 2011, 03:49 PM
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
0
David
Top achievements
Rank 1
answered on 15 Jul 2011, 11:42 PM
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?
0
David
Top achievements
Rank 1
answered on 16 Jul 2011, 12:31 AM
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;
 
 
   }
}

0
David
Top achievements
Rank 1
answered on 16 Jul 2011, 01:31 AM
I really like the profiler. I can see what is going on realtime and determine if a delay is caused by a sql call.
Tags
Design Time (Visual Designer & Tools)
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Jan Blessenohl
Telerik team
Steve
Top achievements
Rank 2
Veteran
David
Top achievements
Rank 1
Share this question
or