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

How to execute a sample

2 Answers 43 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nicolas
Top achievements
Rank 1
Nicolas asked on 08 Mar 2013, 06:34 AM
Hello, 

 I downloaded this component and the openaccess samples kit to have a look then when I click on "run this sample" I've got a the database management tool (DMT) me to select an host name. 

 I'm using visual studio 2012 and installed sql server express 2012. in the manager the server is started. But in DMT sample I can't see my server where as in visual studio I can see it and create a new database. The protocols are default one : shared memory started and pipes and TCP/IP are stopped.

 if I run in a prompt command "sqlcmd - L" it returns : 
 - (local)
 - CHOJPCSALON (which is the host given in the install of sql server by default the name of this PC for the network)
 
 How should I do to have my local server in the combobox in the  DMT because it can run the script to create the database and lunch the sample.


 Best regards, 

 Nicolas

2 Answers, 1 is accepted

Sort by
0
Boris Georgiev
Telerik team
answered on 08 Mar 2013, 04:08 PM
Hello Nicolas,

Database Management Tool (DMT) uses a "SQLBrowser" service to find all local MS SQL Servers you have installed. By default after MS SQL 2012 Express is installed this service is stopped and you should start it manually.

You could start the SQLBrowser service following these steps:
1) Start Windows Task Managed 
2) Go to Services tab
3) Find "SQLBrowser" 
4) Start the services

If you don't want to start the service, you could type the name of the server in the combo box and when you leave the combo box DMT will create a connection with the server.

Hope that helps.
 

Greetings,
Boris Georgiev
the Telerik team
OpenAccess ORM Q1 2013 is out featuring Multi-Diagrams, Persistent Data Stream Support and much more. Check out all of the latest highlights.
0
Nicolas
Top achievements
Rank 1
answered on 08 Mar 2013, 05:08 PM
Thanks a lot Boris, 

 It help me successfully, I lunch  sql server management tool to start the sql browser and under property of sql browser services I had to 
swith to manual or automatic the start mode.

 I can now try the sample kit :)

Thanks a lot again :)

Best regards, 

Nicolas
Tags
Getting Started
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Boris Georgiev
Telerik team
Nicolas
Top achievements
Rank 1
Share this question
or