You receive the "Error 5001" error message when you try to log on to Microsoft Project Professional and Microsoft Project Web Access (324835)



The information in this article applies to:

  • Microsoft Office Project Professional 2003
  • Microsoft Office Project Standard 2003
  • Microsoft Project Professional 2002
  • Microsoft Project Server 2002
  • Microsoft 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:To download MDAC 2.8 on to your application server, visit the following Microsoft Developer Network (MSDN) Web site:
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

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
  2. Locate and expand the server, and then click the Security\Logins subfolder.
  3. Right-click MSProjectServerUser (or the equivalent if you manually created the account), and then click Properties.
  4. In the Password box, type a new password, click OK, retype the new password, and then click OK.
  5. 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.
  6. On the Console menu, click Exit.
  7. 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

  8. 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.

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.
  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
  2. Locate and then expand the computer running SQL Server.
  3. 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.
  4. Repeat step 3 for MSProjectServerUser (or an equivalent account if you manually created the account).
  5. In the Databases\ProjectServer\Users directory, right-click MSProjectUser, and then click Delete. Repeat this step for MSProjectServerUser.
  6. On the Console menu, click Exit.
  7. Click Start, click Run, type regedit in the Open box, and then click OK.
  8. Locate and then click the following registry key:

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

  9. Note the values of the PrjPassword and PSPassword entries.
  10. Quit Regedit.
  11. In Enterprise Manager, right-click the Security\Logon folder, and then click New Login.
  12. Click the General tab, and then in the Name box, type the name of the MSProjectUser account.
  13. Click SQL Server Authentication, and then type the value of PrjPassword, as noted in step 9.
  14. In the Database box, point to the arrow, and then click ProjectServer.
  15. Click the Database Access tab, click to select the ProjectServer check box, and then click to select the MSProjectRole check box.
  16. Click OK, confirm the password, and then click OK.
  17. Right-click the Security\Logon folder, and then click New Login.
  18. Click the General tab, and then in the Name box, type the name of the MSProjectServerUser account.
  19. Click SQL Server Authentication, and then type the value of PSPassword, as noted in step 9.
  20. In the Database box, point to the arrow, and then click ProjectServer.
  21. Click the Database Access tab, click to select the ProjectServer check box, and then click to select the MSProjectServerRole check box.
  22. Click OK, confirm the password, and then click OK.
  23. On the Console menu, click Exit.
  24. Log on to Microsoft Project Server with Microsoft Project Professional or Microsoft Project Server Web Access.

Modification Type:MajorLast Reviewed:9/13/2006
Keywords:kberrmsg kbprb KB324835