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

Problem with Profile Connect To

1 Answer 68 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Keith
Top achievements
Rank 1
Keith asked on 25 Mar 2012, 09:11 AM
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
        Telerik.OpenAccess.ServiceHost.ServiceHostManager.StartProfilerService(15555)
    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?



1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 28 Mar 2012, 10:04 AM
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.

Greetings,
Alexander
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
Tags
Data Access Free Edition
Asked by
Keith
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or