Problem with Profile Connect To

2 posts, 0 answers
  1. Keith
    Keith avatar
    19 posts
    Member since:
    Nov 2011

    Posted 25 Mar 2012 Link to this post

    I can't get my profiler to start.

    Here's my app.config line:

    <add name="ConnStrNW" connectionString="data source=.\sqlexpress;initial catalog=Northwind;integrated security=True" providerName="System.Data.SqlClient" />

    Here's where I start it from the app:

        Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        End Sub

    Here are my backend seetings (attached 1).

    Here's my Connect To dlg in Profler (attached 2). Note the Connection matches the connection string name in the app.config.

    Could it be something with SQL Express?

    Here's the result from pressing Test Connection (attached 3).

    What am I missing?

  2. Alexander
    Alexander avatar
    727 posts

    Posted 28 Mar 2012 Link to this post

    Hello Keith,

    The Test Connection button only works if the profiler service has been started and a context has been instantiated. It seems you have started the service but the database has not been opened by OpenAccess yet.

    This should not be a problem, you could still click Connect and the profiler will begin listening at this address for log data. Once the application opens the database and executes a query, you should be able to see it in the profiler. Hope that helps.

    the Telerik team
    Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
  3. DevCraft banner
Back to Top