INF: Distribution of SQL-DMO (Distributed Database Objects)
ID: Q151862
|
The information in this article applies to:
-
Microsoft SQL Server versions 6.0, 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:
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
Keywords :
Version : 6.0 6.5
Platform : WINDOWS
Issue type :