Microsoft KB Archive/324835

= You receive the &quot;Error 5001&quot; error message when you try to log on to Microsoft Project Professional and Microsoft Project Web Access =

Article ID: 324835

Article Last Modified on 4/25/2007

-

APPLIES TO


 * Microsoft Office Project Professional 2003
 * Microsoft Office Project Standard 2003
 * Microsoft Project 2002 Professional Edition
 * Microsoft Project Server 2002
 * Microsoft Office Project Web Access

-



This article was previously published under Q324835



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to log on to Microsoft Project Server with Microsoft Project Professional or Microsoft Project Web Access, you may receive the following error message:

Microsoft Project was unable to log you on at this time because the Microsoft Project Server database cannot be accessed. Please try again later or check with your Microsoft Project Server administration. (5001)

When you try to install Microsoft Project Server, you may receive one or both of the following error messages:

Microsoft Project Server 2002 Setup Error 1904. Setup cannot register module C:\WINNT\System32\MSXML3.DLL. If you click Cancel or Ignore, run Setup again and reinstall or repair your Office installation.

Microsoft Project Server 2002 Setup Installation ended prematurely because of an error.



CAUSE
This behavior may occur if any of the following conditions are true:  The passwords for the MSProjectUser and MSProjectServerUser SQL Server accounts (or the accounts performing those roles) do not match the accounts that Microsoft Project Server has stored in the registry. The MSProjectUser and MSProjectServerUser accounts (or the accounts performing those roles) are corrupted. The application server that runs Microsoft Windows 2000 (any service pack) cannot successfully initiate a connection to the database server that runs Windows Server 2003. Because Microsoft Windows Server 2003 includes MDAC 2.8, for the application server to successfully initiate a connection to the server, it requires matching MDAC components.

To check server components, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/data/aa937730.aspx

To download MDAC 2.8 on to your application server, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/data/aa937730.aspx



Note The version of the MDAC on the server is likely MDAC 2.7 SP1 or earlier.



RESOLUTION
To resolve this issue, use one of the following methods, as appropriate to your situation.

Method 1: Change Passwords on Accounts
 Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager. Locate and expand the server, and then click the Security\Logins subfolder.</li> Right-click MSProjectServerUser (or the equivalent if you manually created the account), and then click Properties.</li> In the Password box, type a new password, click OK, retype the new password, and then click OK.</li> Repeat steps 3 and 4 for MSProjectUser (or the equivalent if you manually created the account).

NOTE: Microsoft recommends that you use different passwords for each account.</li> On the Console menu, click Exit.</li> Run the Edit Site tool to re-create the ProjectServer virtual directory. For more information about how to use the version of the Edit Site tool for Project Server 2002, click the following article number to view the article in the Microsoft Knowledge Base:

323021 How to use the Site Editor utility to create multiple Microsoft Project Web Access Web sites for Microsoft Project Server

For more information about how to use the version of the Edit Site tool for Project Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

823529 How to use the Site Editor tool to create multiple Microsoft Project Web Access Web sites for Project Server 2003

</li> Log on to the Microsoft Project Server computer with Microsoft Project Professional or Microsoft Project Server Web Access. If you receive the same error message, use Method 2.</li></ol>

Method 2: Replace Corrupted Accounts
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.</li> Locate and then expand the computer running SQL Server.</li> In the Security\Login folder, right-click MSProjectUser (or an equivalent account if you manually created the account), and then click Delete. When prompted to confirm the deletion, click Yes.</li> Repeat step 3 for MSProjectServerUser (or an equivalent account if you manually created the account).</li> In the Databases\ProjectServer\Users directory, right-click MSProjectUser, and then click Delete. Repeat this step for MSProjectServerUser.</li> On the Console menu, click Exit.</li> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then click the following registry key:

HKEY_Local_Machine\Software\Microsoft\Office\10\MSProject\WebClient Server

</li> Note the values of the PrjPassword and PSPassword entries.</li> <li>Quit Regedit.</li> <li>In Enterprise Manager, right-click the Security\Logon folder, and then click New Login.</li> <li>Click the General tab, and then in the Name box, type the name of the MSProjectUser account.</li> <li>Click SQL Server Authentication, and then type the value of PrjPassword, as noted in step 9.</li> <li>In the Database box, point to the arrow, and then click ProjectServer.</li> <li>Click the Database Access tab, click to select the ProjectServer check box, and then click to select the MSProjectRole check box.</li> <li>Click OK, confirm the password, and then click OK.</li> <li>Right-click the Security\Logon folder, and then click New Login.</li> <li>Click the General tab, and then in the Name box, type the name of the MSProjectServerUser account.</li> <li>Click SQL Server Authentication, and then type the value of PSPassword, as noted in step 9.</li> <li>In the Database box, point to the arrow, and then click ProjectServer.</li> <li>Click the Database Access tab, click to select the ProjectServer check box, and then click to select the MSProjectServerRole check box.</li> <li>Click OK, confirm the password, and then click OK.</li> <li>On the Console menu, click Exit.</li> <li>Log on to Microsoft Project Server with Microsoft Project Professional or Microsoft Project Server Web Access.</li></ol>

Keywords: kberrmsg kbprb KB324835

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.