Connect to Remote SQL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Des Norton (des_at_gencentric.co.za)
Date: 03/25/04


Date: Thu, 25 Mar 2004 12:02:52 +0200

Hi NG

I am not sure if this is the correct group for my question.

Background:
    * I am distributing an application which is reliant on MSSQL 7+ .
    * If the client does not already have MSSQL running on their network, I
will install an instance of MSDE.

Assume:
    * Client machine (where my app is being installed) is *CLEAN* - Only
OS - Win 95+
    * Client machine is a member of a domain
    * MSSQL already available on the domain
    * MSSQL uses SQL Authentication

I can use Win32APIs to discover all the MSSQL servers running in the domain.
My problems are as follows:
    1. (Nice to have) I am unable to determine Instance Names
    2. User selects Server, and supplies the sa password - I build the
ConnectionString, but need to be able to test before continuing.
    * I believe that OSQL will allow me to determine the instance names, and
test for a connection. It will even allow me to run various scripts, but
this will be taken care of by my setup package at the end of the
installation.
    * Assuming that I package OSSQL with my app for the express purpose of 1
and 2 above, and that it will be deleted as soon as the above is completed.
Can somebody help me with a list of dependancy files for OSQL.exe (DLLs,
OCXs, etc) that I will need in order to be able to use OSQL on the client.

Thank you
Des Norton



Relevant Pages

  • Re: OWC11 with Vb.Net
    ... the client, it will render as a pivot table. ... This function calls into the server which connects to the pivot ... pulls its data from mssql.. ...
    (microsoft.public.office.developer.web.components)
  • =?Utf-8?Q?Re:_Datums=C3=BCbergabe_vom_Client_zu?= =?Utf-8?Q?_MSSQL=3F?=
    ... Clientanwendungen zu MSSQL wenn ich das Datum über eine Gespeicherte ... verschiedene Datumformateinstellungen zwischen Client und Server, ... dass der MSSQL das Englische MM/DD/YYYY Format ... eingestellt hat und ein Client das Deutsche DD/MM/YYYY. ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: DTS Programm Absturz bei Erstellung Export in txt
    ... ein Problem mit dem DTS Designer von MS SQL 2000. ... Ich möchte aus einer Datenbanktabelle (MSSQL) Daten in eine Textdatei ... Der Client läuft mit SP3 oder SP4. ...
    (microsoft.public.de.sqlserver)
  • How do I remove my development server log from my client site during login?
    ... I have devleoped a MSSQL 2005 database for my client. ... copied the mdf and ldf files a CD then attached to my clients MSSQL. ...
    (microsoft.public.sqlserver.setup)