Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Check SQL Server is installed

Check SQL Server is installed

Scheduled Pinned Locked Moved C#
csharpdatabasesql-servercomsysadmin
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yulianto
    wrote on last edited by
    #1

    How could we know if SQL Server express is installed with c#? Thanks


    Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

    V P 2 Replies Last reply
    0
    • Y Yulianto

      How could we know if SQL Server express is installed with c#? Thanks


      Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      Try this https://blogs.msdn.com/sqlexpress/archive/2006/07/29/682254.aspx[^] Hop it Helps

      Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

      Y 1 Reply Last reply
      0
      • V Vimalsoft Pty Ltd

        Try this https://blogs.msdn.com/sqlexpress/archive/2006/07/29/682254.aspx[^] Hop it Helps

        Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

        Y Offline
        Y Offline
        Yulianto
        wrote on last edited by
        #3

        Wow thanks. I'll give it a try. I tried using registry before and it failed.


        Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

        1 Reply Last reply
        0
        • Y Yulianto

          How could we know if SQL Server express is installed with c#? Thanks


          Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Why? If you need to connect to a database then try connecting to the database; if it succeeds, proceed; if it fails, tell the user. I don't see how knowing whether or not the expected database engine is installed and running will help.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups