Dashboard > Documentation for Metrix Developers and Consultants > ... > Installing Metrix > Installing MSDE 2000 Release A
Documentation for Metrix Developers and Consultants Log In   View a printable version of the current page.
Installing MSDE 2000 Release A
Added by A. Mitchell, last edited by A. Mitchell on Feb 15, 2007  (view change)
Labels: 

Follow these steps to install SQL Server 2000 Desktop Edition, also known as MSDE 2000 Release A.

  1. Download MSDE 2000 - Release A from Microsoft.
  2. Double-click the downloaded package to uncompress it.
  3. Open a DOS command window.
  4. In the DOS command window, go to the directory the package created (cd c:\MSDErelA or similar, by default).
  5. Run this command:
    setup SAPWD="yoursapassword" SECURITYMODE=SQL INSTANCENAME="YourInstanceName" DISABLENETWORKPROTOCOLS=0

    If you need to install MSDE to a drive other than C:, add these two parameters to the end of the line of code above:
    DATADIR="data_folder_path" Specifies the folder where Setup installs the system databases, error logs, and installation scripts. The value specified for data_folder_path must end with a backslash (). For a default instance, Setup appends MSSQL\ to the value specified. For a named instance, Setup appends MSSQL$InstanceName\, where InstanceName is the value specified with the INSTANCENAME parameter. Setup builds three folders at the specified location: a Data folder, a Log folder, and a Script folder.
    TARGETDIR="executable_folder_path" Specifies the folder where Setup installs the MSDE 2000 executable files. The value specified for executable_folder_path must end with a backslash. For a default instance, Setup appends MSSQL\Binn to the value specified. For a named instance, Setup appends MSSQL$InstanceName\Binn, where InstanceName is the value specified with the INSTANCENAME parameter.

  6. When setup completes, you must start the MSDE service. To do so, you can restart the computer. Alternatively, you can go into Control Panel|Adminstrative Tools|Services and start MSSQLSERVER and/or MSSQL$<yourinstancename> and SQLAgent$<yourinstancename>. screenshot: start_services.jpg

To verify that your installation succeeded, go to the DOS command window and try:

osql -S (local)\yourinstancename -U sa -P yoursapassword

then run these commands:

  • sp_databases
  • go

Note: When running this OSQL command, you may get an error that the OSQL command is not "valid". If so, close your Command window, re-open it, and try again.

If everything is working, the default MSDE databases should be displayed.

Exit the OSQL utility by typing "exit".

Related

Note: I did have to close out my current code window immediately after installing MSDE in order to have OSQL commands recognized, but once I closed the code window and opened another one, it recognized OSQL without any problem.

Posted by Sean DeWitt at Mar 29, 2006 11:13 | Permalink

Hmm. I had some trouble getting this to work, though I did succeed, and with a different method. I hadn't noticed this comment.

The way I did it was to navigate through to the directory with osql.exe ("C:\Program Files\Microsoft SQL Server\80\Tools\Binn") and run it from there.

Maybe something about the setting of the Path doesn't happen until the window is closed and re-opened. In any case, Sean's method is probably the best for now, but I do wonder if there's some way to force a refresh of the Path.

Posted by Jeremy Wallace at Feb 15, 2007 16:04 | Permalink
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.1.1 Build:#406 Dec 23, 2005) - Bug/feature request - Contact Administrators