Microsoft KB Archive/814046

= Project Server users with MSDE 2000 installed may be vulnerable to the Slammer worm =

Article ID: 814046

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Project Server 2002

-



SUMMARY
When you install Microsoft Project Server 2002, you may select to install SQL Server Desktop Engine (also known as MSDE 2000). Computers with MSDE 2000 installed may be vulnerable to the Slammer worm.

NOTE: When you install Microsoft Project Server 2002, if you click Custom (the default option) in the Choose the type of installation you need dialog box, MSDE 2000 is not installed. MSDE 2000 is only installed if you click or install now in the Choose the type of installation you need dialog box.

This article describes how Microsoft Project Server 2002 users who installed MSDE 2000 during the Microsoft Project Server 2002 setup can help protect their computers from the Slammer worm.



MORE INFORMATION
To help protect your computer from the Slammer worm in the scenario where MSDE 2000 was installed during the Microsoft Project Server 2002 setup, use one of the following methods.

NOTE: If Microsoft Project Server 2002 is configured to use SQL, or if MSDE 2000 is installed on your computer, but Microsoft Project Server 2002 is not configured to use MSDE 2000, do not use the steps in Method 2. Instead, use the steps in Method 1, or see the &quot;General Information About SQL Service Packs and Updates&quot; section of this article for information about how to apply Microsoft SQL Server 2000 Service Pack 3 (SP3) to your installation of MSDE 2000 or Microsoft SQL Server 2000.

Method 1: Install SQL 2000 Critical Update Wizard
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

814372 Overview of the SQL 2000 Critical Update Wizard

Method 2: Install SQL Server 2000 SP3
Detach your Microsoft Project Server 2002 database from MSDE 2000, remove Microsoft Project Server 2002, install SQL Server 2000 SP3, and then re-install Microsoft Project Server 2002.

Use the following steps to install SQL Server 2000 SP3 when Microsoft Project Server 2002 is configured to use MSDE 2000:  Detach your Microsoft Project Server 2002 database from MSDE

To do this:  Click Start, click Run, type osql -U sa in the Open box, and then click OK.

This connects you to the local, default instance of MSDE 2000 by using the System Administrator (SA) account. At the Password prompt, enter the SA password, and then press ENTER. Retrieve the names of the database (.MDF) and log (.LDF) files for the Microsoft Project Server 2002 database by typing the following text on separate lines, and then pressing ENTER after each line of text:

select a.filename as Filename from sysaltfiles a, sysdatabases b where a.dbid = b.dbid and b.name = N'ProjectServer'

go

This will return two rows, one that ends in “.MDF” (without quotation marks) indicating the full path of the database file, and one that ends in “.LDF” (without quotation marks) indicating the full path of the log file. Close any running transactions, detach the database, and then detach the log files by typing the following text on separate lines and pressing ENTER after each line:

EXEC sp_detach_db N'ProjectServer', N'true'

go

NOTE: There may be a long delay after running this command. After the database has been detached, move the .MDF file and the .LDF file from the directories that were identified in step 1c to an alternate directory. </li> Remove Microsoft Project Server 2002

IMPORTANT: Before you follow these steps, verify that you have followed the proceeding steps and backed up your .MDF file and .LDF file to a safe location.

To do this:  Click Start, click Control Panel, and then click Add or Remove Programs.</li> In the Add or Remove Programs box, click Microsoft Project Server 2002, and then click Remove.</li> Follow the onscreen prompts to remove Microsoft Project Server 2002.</li> Restart your computer regardless of whether or not you are prompted to do so.</li></ol> </li> Install SQL Server 2000 Service Pack 3.

To do this:  Visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=90dcd52c-0488-4e46-afbf-acace5369fa3&DisplayLang=en

</li> Select the language that matches your version of Microsoft Project Server 2002 from the Full Download box on the right side of your screen, and then click Go.</li> Locate the download link to the SQL2KDeskSP3.exe file, and then click the download link to start the download.

NOTE: Non-English versions of the download will be listed as  _SQL2KDeskSP3.exe.

Where  represents language version of the download.</li> When prompted, save the file to your Windows Desktop.</li> In Windows Explorer, double click the file that you previously saved to your desktop.</li> Click I Agree, to accept the License Agreement.</li> In the Installation Folder box, type C:\sql2ksp3, and then click Continue.</li> Click Start, click Run, and then type the following command in the Open box

C:\sql2ksp3\msde\setup.exe sapwd=” ” securitymode=sql

where  is your System Administrator (SA) password.</li> <li>Click OK.</li></ol> </li> <li>Attach your Microsoft Project Server 2002 databases to the MSDE 2000 that you previously updated with SQL Server 2000 Service Pack 3.

To do this: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type osql -U sa in the Open box, and then click OK.

This connects you to the local, default instance of MSDE 2000 by using the SA account.</li> <li>At the Password prompt, enter the SA password that you previously set in step 3h, and then press ENTER.</li> <li>Attach the Project Server .MDF and .LDF files by typing the following text on separate lines, and then pressing ENTER after each line

EXEC sp_attach_db @dbname=N'ProjectServer', @filename1=N' ',@filename2=N' ’

go

where  and   are the paths to the MDF file and the LDF file that you previously backed up to a safe location in step 1e.

NOTE: There may be a long delay after running this command.</li></ol> </li> <li>Create the MSProjectUser and MSProjectServerUser SQL logins. To do this, type the following text on separate lines, and then press ENTER after each line

EXEC sp_addlogin N'MSProjectServerUser', N' ', N'ProjectServer'

EXEC sp_addlogin N'MSProjectUser', N' ', N'ProjectServer'

go

where  is the new password for the MSProjectServerUser account, and where   is the new password for the MSProjectUser account.</li> <li>Add the MSProjectServerUser account and the MSProjectUser account to the MSProjectRole role and MSProjectServerRole role by typing the following text on separate lines, and then pressing ENTER after each line:

USE ProjectServer

go

EXEC sp_dropuser N'MSProjectServerUser’

EXEC sp_dropuser N'MSProjectUser’

go

EXEC sp_adduser N'MSProjectServerUser', N'MSProjectServerUser', N'MSProjectServerRole'

EXEC sp_adduser N'MSProjectUser', N'MSProjectUser', N'MSProjectRole'

go

quit</li> <li>Install Microsoft Project Server 2002, and then connect to the existing MSDE 2000 database.

NOTE: The following steps will set the server up exactly as you had configured it so long as you click the Enter this information later option when prompted during installation. If you customized server settings in the Administration pages of Project Web Access, those settings will be persisted. <ol style="list-style-type: lower-alpha;"> <li>Insert your Microsoft Project Server 2002 CD-ROM in your CD-ROM drive, and let Setup autorun to start the setup process.</li> <li>In the Microsoft Project Server 2002 Setup dialog box, click Server installation.</li> <li>In the Type of installation dialog box, click Custom, and then click Next.</li> <li>In the Enter Database server information dialog box, click Connect to an existing database.</li> <li>In the Database server box, enter the name of your computer.</li> <li>In the Database name box, type ProjectServer, and then click Next.

This will open the Enter database account information dialog box.</li> <li>In the first Logon name box, enter MSProjectServerUser. The MSProjectServerUser account is the account that you previously specified to be a member of the MSProjectServerRole role.</li> <li>In the Password box, enter the password for the MSProjectServerUser account.

NOTE: This would be the password previously listed in Step 5 as .</li> <li>In the second Logon name box, enter MSProjectUser. The MSProjectUser account is the account that you previously specified to be a member of the MSProjectRole role.</li> <li>In the Password box, enter the password for the MSProjectUser account.

NOTE: This would be the password previously listed in Step 5 as .</li> <li>Click Next.</li> <li>In the Enter Analysis Services connect information dialog box, click Enter this information later, and then click Next.</li> <li>In the Select a Web site dialog box, click Default Web Site, and then click Next.</li> <li>In the Enter Web server information dialog box, click Enter this information later, and then click Next.</li> <li>In the Enter SMTP mail server information dialog box, click Enter this information later, and then click Next.</li> <li>In the Connect to a Web server running SharePoint Team Services dialog box, click Enter this information later, and then click Next.</li> <li>In the Choose a version of Microsoft Project dialog box, click Microsoft Project Standard 2002 and/or Microsoft Project 2000, and then click Next. This will take you to the Enter administrator password information dialog box.</li> <li>In the Password box, enter an administrator password. In the Confirm Password text box, re-enter your administrator password, and then click Next.</li> <li>In the Begin installation dialog box, click install.

This will start the installation process.</li></ol> </li></ol>

How to Obtain the SQL Server 2000 Service Pack 3 (SP3)
SQL Server 2000 Service Pack 3 (SP3) is available from the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=90dcd52c-0488-4e46-afbf-acace5369fa3&DisplayLang=en

List of Bugs Fixed by SQL Server 2000 Service Packs
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

306908 List of bugs fixed by SQL Server 2000 service packs

The SQL Server 2000 Service Pack 3 (SP3) ReadMe
http://support.microsoft.com/kb/889551

The SQL Server 2000 Service Pack 3 (SP3) ReadMe Addendum
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

330022 SQL Server 2000 Service Pack 3 Readme.htm additions

<div class="references_section">