Sql Connection Tester Utility

I found myself needing to test for the ability to connect to a given Sql Server from a workstation today, without access to Enterprise Manager. Instead of simply installing it (or, come to think of it, simply attempting to connect through Visual Studio - ha! that would be too smart), I whipped up this handy .NET command line utility that will test for connectivity to a Sql Server. It’s written in C# and targets the .NET 1.1 runtime.

It’s quite simple to use - fire it up, and follow the instructions. Granted, in an environment where you have all the usual tools it’s completely useless, but you may occasionally find yourself with nothing but Notepad and an internet connection…and then you’ll thank me.

Download the bits:

TODO:

  • Allow the user to choose the type of connection (Sql Server, ODBC, etc)
  • Build a GUI (If more than 2 people use it. That means you.)
Share me: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati

Comments (5) left to “Sql Connection Tester Utility”

  1. Brett wrote:

    Hey, Thanks for the great tool. I was having issues connecting to my SQL server and this helped pin point the problem.

  2. jason wrote:

    You’re welcome. Glad it was useful to someone (other than myself!).

  3. jim wrote:

    wow this is great. looked for something like this (VBS script) for 2 hours.

    Thanks
    jw

  4. Marcus wrote:

    Hey, after I download it, I cannot unzip it due to an error.

    But thank’s anyways.

  5. madhu kumar wrote:

    Hi i have a doubt, if the connection is proper and i am able to access SQL database from my client machine but some time the connection drops from SQL database, is there a way how to check this connection drops

Post a Comment

*Required
*Required (Never published)