Background Information
In Project Server 2007, it is possible to remove all members from the Administrators Group in Project Server. After doing this, nobody can logon to the system with administration rights. There are two methods to resolve this issue:
-
You can use the stsadm utillity to re-add the appropriate user to the Administrators Group for the affected Project Server instance (Recommended Solution).
-
You can fix this in the Published database for the affected Project Server instance by adding an entry to the MSP_WEB_SECURITY_GROUP_MEMBERS table to restore a user to the administrator group.
Resolution #1
-
Logon to a Web Front-End server in your server farm as a local Administrator.
-
Open a command prompt.
-
Type cd <dir_name>, where <dir_name> is the location of your "12 Hive" (typcally located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\).
-
Type
stsadm -o projenumusers -url <pwa_url>, where
<pwa_url> is the URL of your PWA site (for example,
http://projectserver/pwa).
-
StsAdm should print a list of Project Server users. Find the user you wish to add to the Administrators security group and note the name that appears in the <RES_NAME> element (for example, <RES_NAME>User</RES_NAME>).
-
Type
stsadm -o projmodifyuseringroup -url <pwa_url> -groupname Administrators -username <res_name> -addorremove add, where
<pwa_url> is the URL of your PWA site (for example,
http://projectserver/pwa) and
<res_name> is the name that you noted in Step 5.
Once you restore one user, logon as that user and restore the rest of the group membership using the Administration interface. Note: This method will not permit you to restore a user that is a local Administrator on the system. You must instead restore a user that is not a local Administrator.
Resolution
#2
- Logon to your SQL Server Instance and expand the Published database for the affected instance
- Open the MSP_WEB_SECUIRTY_GROUP_MEMBERS table.
- To populate the WRES_GUID field in this table, copy the RES_SECURITY_GUID field for the resource from the MSP_RESOURCES table.
- To populate the WSEC_GRP_GUID field, harvest the WSEC_GRP_GUID field for the Administrators group from the MSP_WEB_SECURITY_GROUPS table.
Once you restore one user, logon as that user and restore the rest of the group membership using the Administration interface. Note: It may be a good idea to restore the SSP service account first, and logon to the system using that account.