How to execute a sample

Thread is closed for posting
3 posts, 0 answers
  1. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    Feb 2013

    Posted 08 Mar 2013 Link to this post


     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, 

  2. Boris Georgiev
    Boris Georgiev avatar
    190 posts

    Posted 08 Mar 2013 Link to this post

    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.

    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.
  3. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    Feb 2013

    Posted 08 Mar 2013 Link to this post

    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, 

Back to Top