INF: Distribution of SQL-DMO (Distributed Database Objects)

Last reviewed: October 30, 1997
Article ID: Q151862

The information in this article applies to:
  • Microsoft SQL Server, versions 6.0 and 6.5

SUMMARY

The following article contains information on the files necessary to distribute a SQL-DMO developed application.

MORE INFORMATION

The client will need a valid SQL Server connection license.

There are differences between the SQL-DMO versions 6.0 and 6.5. A client cannot have both versions installed. The DLLs from 6.0 and 6.5 use the same registry keys, making it impossible to have a multiple-version SQL-DMO client.

You will need the following SQL-DMO components (the requirements for each version are listed separately):

For SQL-DMO 6.0 you will need:

  • Client files:

    ..\SQL60\DLL\SQLOLE32.DLL : This is the DLL to support the SQL-DMO objects

    ..\SQL60\DLL\SQLOLE.REG : The registry components.

  • Server files:

    ..\SQL60\INSTALL\SQLOLE60.SQL: The stored procedures called by SQL-DMO

  • Installation:

    The SQLOLE.REG file is installed using the Regedit.exe utility. This is not the same Regedit shipped with Windows 95, but rather the 16 bit version. As such it will require an 8.3 naming convention, or the processing will result in an error with an invalid file name.

    Use ISQL or similar utility to install the SQLOLE60.SQL. This should only need to be done once at the SQL Server itself.

For SQL-DMO 6.5 you will need:
  • Client files:

    ..\MSSQL\BINN\SQLOLE65.DLL : The DLL to support the SQL-DMO objects.

  • Server Files:

       ..\MSSQL\INSTALL\SQLOLE65.SQL    -  Stored procedures called by SQL-DMO
    
    
  • Installation:

    To install the registry entries, run the following command:

          REGSVR32.EXE SQLOLE65.DLL
    

    This is the 6.5 equivalent to the REGEDIT used in the 6.0 installation procedure.

    Use ISQL or a similar utility to install the SQLOLE65.SQL. This should only need to be done once at the SQL Server itself. This is compatible with the SQL-DMO 6.0 procedures, so if you run this on a server you can still connect to the server with 6.0 SQL-DMO clients.

For both versions:

You will need the appropriate DB-Library component (NTWDBLIB.DLL) and Network Library (by default this would be DBNMPNTW.DLL).

You must also have the SQLSVC32.DLL file available and in the applications search path.

When developing your application, be sure you develop on the appropriate client. You need to make sure you are using the appropriate SQL-DMO (.tlb) file and header files; otherwise, the application may not perform as expected when you move it. For example, if Visual Basic (VB) cannot locate a constant it uses zero (0). This will not be the correct value in most cases.


Additional query words: Install
Version : 6.0 6.5
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.