Error Codes

The PDS API on Microsoft® Office Project Server 2003 returns STATUS and error codes from 0 through 9499. Codes are listed in the following groups. Some groups include a table with extended descriptions; in most cases the status code name is self-explanatory.

  • Status codes <100

  • Status codes 100+

  • Project errors: 1000+

  • Resource errors: 2000+

  • Version errors: 3000+

  • OLAP errors: 4000+

  • Login errors: 5000+

  • Context Navigator errors: 6000+

  • Task Maintenance errors: 7000+

  • Server security PDS extension errors: 8000+

  • Service for Enterprise Data Maintenance (EDM) errors: 8000+

  • Exceptions: 9000+

STATUS code Description
rsSuccess = 0 The operation succeeded.
rsRequestUnknown = 1 The request is not recognized by the PDS.
rsRequestInvalid = 2 Some part of the request syntax is invalid (general status).
rsRequestIncomplete = 3 More information is expected in the request.
rsRequestStringEmpty = 4 The request string contains no information. This error may also occur if the ProjectName parameter includes characters such as: & " < >. These characters should be encoded in the value as, respectively: &amp; &quot; &lt; &gt;. Otherwise, use the ProjectID parameter instead of ProjectName.
rsRequestNotImplemented = 5 The request is known but currently not implemented.
rsRequestInvalidParameter = 6 One of the request nodes/parameters is invalid or contextually invalid.
rsNodeNameInvalid = 7 The node name is not recognized as valid syntax for the request.
rsGUIDInvalid = 8 The user GUID is invalid.
rsNoRowsAffected = 9 A database update has been performed, but no rows were updated.
rsInvalidDatabaseType = 10 The only valid DB type is: 0=SQLServer.
rsInvalidValue = 11 The request value is invalid; for example, a UID is specified as 0.
rsDatabaseNameNotFound = 12 The database name is not found in the connection string.
rsServerNameNotFound = 13 The server name is not found in the connection string.
rsParameterNotFound = 14 General error— the sought parameter is not found (not usually returned to user).
rsOLAPCubeFailure = 15 The OLAP cube returned an error, but not one that the PDS knows about.
rsAgeInvalid = 17 The Age parameter specified is out of range.
rsModeInvalid = 18 The Access mode specified is absolutely or contextually invalid
rsDSNCreateFailed = 19 An attempt to create a DSN on the fly has failed.
rsDSNDatabaseInvalid = 20 During an attempt to create a DSN, the database type was found to be invalid (not Microsoft SQL Server™)
rsDateFormatInvalid = 21 The format of a string date is invalid ("YYYYMMDDhhmmss").
rsNoDateRange = 22 No date range values were found in WADMIN_RES_DATE_RANGE (not usually returned to user).
rsDecodeInvalidInteger = 23 A request numeric parameter did not hold a numeric value.
rsDecodeIntegerTooSmall = 24 A request numeric parameter value was too small.
rsDecodeIntegerTooLarge = 25 A request numeric parameter value was too large.
rsStartDateGTorEQFinishDate = 26 The specified date range is invalid.
rsMachineIDNameTooLong = 27 The computer name string is too long.
rsOLAP2UnknownFailure = 28 There was an unknown return from CheckOlapDetails.
rsRequestInvalidXML = 30 The request XML contains a syntax error; that is, it can't be parsed.
rsRequestMultiplesInvalid = 31 The request contains repeated parameters, which is invalid.
rsRequestInvalidRoot = 32 No root node was found for the request.
rsRequestMissing = 33 A request node was found, but the request itself was missing.
rsRequestParameterMissing = 34 A required parameter for the request was missing.
rsRequestSPIDParameterMissing = 35 SPID parameter for the request was missing.
rsRequestSPIDTimestampParameterMissing = 36 SPID timestamp parameter for the request was missing.
rsRBSInvalid = 37 An invalid RBS parameter was specified.
rsDecodeInvalidBool = 38 An invalid Boolean was specified (that is, not 0 or 1).
rsDecodeInvalidSPID = 39 An invalid SPID was specified (1–32767, currently).
rsDecodeInvalidPermissionID = 40 An invalid Permission ID was specified.
rsUIDInvalid = 41 An invalid UID was specified.
rsEnterpriseCustomFieldUIDInvalid = 42 The UID does not match a known Enterprise custom field.
rsCurrencyValueInvalid = 43 A Currency value string is incorrectly formatted.
rsDecodeInvalidDecimal = 44 A request Decimal parameter did not hold a Decimal value.
rsDecodeDecimalTooSmall = 45 A request Decimal parameter value was too small.
rsDecodeDecimalTooLarge = 46 A request Decimal parameter value was too large.
rsDecodeStringTooShort = 47 A request string parameter value was too short.
rsDecodeStringTooLong = 48 A request string parameter value was too long.
rsEnterpriseCustomFieldUIDMultiplesInvalid = 49 More than one Custom Field UID is passed in.
rsSecurityAccessDenied = 50 The user does not have permission to make this request. This can generally occur because of incorrect permission, or because the user is trying to lock a summary task when some sub-tasks are unlocked (AssignmentsSave method, Project Server 2003 Service Pack 1).
rsSecurityAddUserAccountFailed = 51 A new resource being added as a user has failed.
rsPCProjectNotDeleted = 52 A request to delete a project has failed on the Microsoft Project Central side.
rsPCResourceActivateFailed = 53 A request to activate a resource has failed on the Microsoft Project Central side.
rsPCResourceDeactivateFailed = 54 A request to deactivate a resource has failed on the Microsoft Project Central side.
rsPCProjectNotFound = 55 The specified project was not found in the Microsoft Project Central tables.
rsSecurityModifyUserAccountFailed = 56 There was a failure to modify the account details between the Project Professional client and Project Server.
rsNoValuesSpecified = 57 No values were provided for the operation.
rsNTAccountNotFound = 58 The internal search result status for ResourcesCheck did not find a Windows logon account.
rsVarCharInvalidCharacters = 59 A variable character field contains invalid characters.
rsVarCharInvalidLength = 60 A variable character field has an invalid length.
rsServerPathNotSetup = 61 The Internet URL for notifications is not set up.
rsMustCallPDSThruSOAPXMLRequest = 62 There is no security cookie (called via SOAPXMLRequest).
rsSecurityNoBuildTeamOnNewProjectPermissions = 63 There are no build team permissions set for a new project.
rsSecurityNoBuildTeamPermissions = 64 Build team permissions are not set.
rsSecurityNoAssignResourcePermissions = 65 Assign resource permissions are not set.

Top of page

Additional STATUS Codes

rsGlobalNotFound = 100

rsResGlobalNotFound = 101

rsProjIDtoWProjIDConversionFailed = 102

rsResUIDtoWResUIDConversionFailed = 103

rsNoColumnsSpecifiedForUpdate = 104

rsWebResourceNotFound = 105

rsResGlobalNotCheckedout = 106

rsResGlobalCheckedoutToOtherUser = 107

rsOutlineCodeUIDNoMatchFound = 110

rsOutlineCodeUIDSpecifiedTwice = 111

rsOutlineCodeCannotUpdateAlias = 112

rsOutlineCodeUIDAlreadyExists = 113

Note Status codes 120 – 130 are used in the AssignmentsGet and AssignmentsSave methods.

STATUS code Description
rsAssignmentNotFound = 120 Assignment with the specified WUID does not exist (bad WUID specified in request).
rsAssignmentDeleted = 121 Assignment with the specified WUID has been deleted from the server.
rsAssignmentWrongTrackingMethod = 122 Actuals are reported in a method other than the locked-down reporting method.
rsAssignmentTimephasedDataClosedOut = 123 You attempted to update TimphasedData in a closed-out period for this assignment. The assignment edit was not saved.
rsAssignmentUpdateNotNeeded = 124 Assignment contains at least one timephased data segment where Day contains a time portion. Dates may be entered as YYYYMMDD or YYYYMMDDHHMMSS. The dates provided for timephased data segments in AssignmentsSave must be exact days (20021028 or 20021028000000, for example). If date-time values are included, the last six digits in the date-time must be zero.
rsAssignmentDateNotExactDay = 125 TimephasedDataSegments contain at least 1 duplicate pair of TimephasedData nodes (where Type and UID are identical).
rsAssignmentTimephasedDataSegmentMultiplesInvalid = 126 Only assignments of type 1 (“Actual Work”) and 2 (“Overtime Actual Work”) can be saved. Assignments of type 0 (“Scheduled Work”) or any invalid value cannot be saved.
rsAssignmentWorkTypeInvalid = 127 There is no URL available for assignment notifications.
rsAssignmentNotificationsURLNotSetup = 128 If the current tracking mode is 1 (Hours of Work Done Per Time Period), the work reported must be less than the maximum set by the project administrator. The maximum applies to work fields individually (ActualWork and OvertimeActualWork), not the sum of work fields.
rsAssignmentMaxHoursPerDayExceeded = 129 Actuals are reported in a method other than the locked-down reporting method.
rsAssignmentLockedDownByManager = 130 The assignment is already locked. The current value of MSP_WEB_ASSIGNMENTS.WASSN_LOCKDOWN_BY_MANAGER is not zero for the assignment (Project Server 2003, Service Pack 1 or later).

rsWinprojHiveDoesNotExist = 200

rsWinprojHiveExistsButHasError = 201

rsPacketSizeInvalid = 202

rsAccessModeMultiplesInvalid = 500

rsCodeTypeInvalid = 501

rsAgeMultiplesInvalid = 502

rsDateStringMultiplesInvalid = 503

rsPDSDateStringInvalid = 504

rsUserNameTooLong = 505

rsMaxNumberInvalid = 506

rsMaxNumberMultiplesInvalid = 507

rsGanttBarStyleMultiplesInvalid = 508

rsCodeValueUIDInvalid = 509

rsCodeNameTooLong = 510

rsCodeDescriptionTooLong = 511

rsTextFieldValueTooLong = 512

rsDurationOrWorkFormatInvalid = 513

rsValueUIDInvalidForMultiValue = 514

rsMultiValueDuplicatesInvalid = 515

rsMultiValueMustContainCorrespondingCode = 516

rsMultiValueMaxNumExceeded = 517

rsRateFormatInvalid = 518

rsCostValueListFixupError = 519

rsAttemptToSetMultiValuesOnNonMultiValueUID = 520

rsAttemptToSetSingleValuesOnMultiValueUID = 521

Top of page

rsProjectNotFound = 1000

rsProjectAlreadyExists = 1001

rsProjectCheckedoutToOtherUser = 1002

rsProjectTypeInvalidForCreate = 1003

rsProjectParametersInvalid = 1004

rsProjectCannotDeleteDefault = 1005

rsProjectNotCheckedoutToUser = 1006

rsProjectCheckedout = 1007

rsProjectTypeInvalid = 1008

rsProjectIDInvalid = 1009

rsProjectIDMultiplesInvalid = 1010

rsProjectNameMultiplesInvalid = 1011

rsProjectTypeMultiplesInvalid = 1012

rsProjectManagerMultiplesInvalid = 1013

rsProjectNameTooLong = 1014

rsProjectManagerNameTooLong = 1015

rsProjectNameInvalid = 1016

rsProjectDefaultVersionNotFound = 1017

rsProjectIDRequired = 1018

rsProjectPrefixTooLong = 1019

rsProjectPrefixTooShort = 1020

rsProjectPrefixInvalidCharacters = 1021

rsProjectReadCountBelowZero = 1022

rsProjectWriteCountBelowZero = 1023

rsProjRefInvalid = 1024

rsProjStartDateMissing = 1025

rsProjectResourceNotFound = 1100

rsProjectResourceAlreadyExists = 1101

rsProjectReplacementResourceAlreadyExistsOnProject = 1102

rsProjectReplacementResourceIsInactive = 1103

rsProjectResourceAlreadyAssignedToTask = 1104

rsProjectContainingResourceCheckedOut = 1105

rsProjectTaskNotFound = 1200

rsProjectTaskHasNegativeDuration = 1201

rsProjectTaskNoWorkOnMilestone = 1202

rsProjectAssignmentWorkExceedsTaskWork = 1203

rsProjectAssignmentCannotSetWorkOnAdminProject = 1204

Top of page

rsResourceNotFound = 2000

rsResourceAlreadyExists = 2001

rsResourceCheckedoutToOtherUser = 2002

rsResourceParametersInvalid = 2004

rsResourceNotCheckedoutToUser = 2006

rsResourceCannotDeactivateWhenCheckedout = 2007

rsResourceAlreadyInactive = 2008

rsResourceAlreadyActive = 2009

rsResourceMaxNumberExceeded = 2010

rsResourceUIDInvalid = 2011

rsResourceUIDMultiplesInvalid = 2012

rsResourceNameMultiplesInvalid = 2013

rsResourceTypeFilterMultiplesInvalid = 2014

rsResourceTypeFilterInvalid = 2015

rsResourceNameInvalid = 2016

rsResourceNameTooLong = 2017

rsResourceInitialsTooLong = 2018

rsResourceReadCountBelowZero = 2022

rsResourceWriteAllCountCountBelowZero = 2024

rsResourceCheckedout = 2025

rsResourceNTAccountInvalid = 2026

rsResourceNameAlreadyInUse = 2027

rsResourceNTAccountAlreadyInUse = 2028

rsResourceNameNTAccountMismatch = 2029

rsResourceWillBeMergedWithUserAccountOnImport = 2030

rsResourceHasActuals = 2031

rsResourceReplacementNotFound = 2032

rsResourceMaterialWithNTAccountInvalid = 2033

rsResourceHasPendingActuals = 2034

rsResourceNTAccountTooLong = 2035

rsResourceEMailAddressTooLong = 2036

rsResourceCodeTooLong = 2037

rsResourceGroupTooLong = 2038

rsResourceWorkGroupInvalid = 2039

rsResourceTypeInvalid = 2040

rsResourceSortOrderSpecifiedByRequestOrder = 2041

rsResourceNameSuffixTooLong = 2042

rsResourceNameSuffixRequired = 2043

rsResourceMaterialWithEMailInvalid = 2044

rsResourceAccountDeletionFailed = 2045

rsResourceNameHasTrailingOrLeadingWhitespace = 2046

rsResourceCannotDeleteCallingUserAccount = 2047

rsResourceInitialsInvalid = 2048

Top of page

rsVersionNotFound = 3000

rsVersionIDTooLong = 3001

rsVersionIDTooShort = 3002

rsVersionIDInvalidCharacters = 3003

rsVersionIDInvalidAllNumeric = 3004

rsVersionTypeInvalid = 3005

rsVersionExists = 3006

rsVersionInactive = 3007

rsVersionCannotDeleteDefault = 3008

rsVersionCannotDeleteWithProjects = 3009

rsVersionGanttBarCodeInvalid = 3010

rsVersionIDMultiplesInvalid = 3011

rsVersionTypeMultiplesInvalid = 3012

rsVersionTypeRequiredParameter = 3013

rsVersionNoDefault = 3014

rsVersionDefaultNoUpdate = 3015

rsVersionIDInvalid = 3016

Top of page

OLAP Reported and Translated Errors

rsOLAPADOError = 4001

rsOLAPCubeStartDateBad = 4002

rsOLAPCubeFinishDateBad = 4003

rsOLAPResStartDateBad = 4004

rsOLAPResFinishDateBad = 4005

rsOLAPServerBad = 4006

rsOLAPNoDSO = 4007

rsOLAPNoServer = 4008

rsOLAPNoCubename = 4009

rsOLAPCubeStartAfterCubeFinish = 4010

rsOLAPAvailStartAfterAvailFinish = 4011

rsOLAPPrevInstanceRunning = 4012

rsOLAP2InternalError = 4051

rsOLAP2NoDSO = 4052

rsOLAP2NoPingServer = 4053

rsOLAP2NoSuchCube = 4054

rsOLAP2NoVisionCube = 4055

rsAdminInfoNotFound = 5000

Top of page

Logon Errors

Note These logon errors are returned by the logon ASP pages in Project Web Access, not by the PDS. There is no conflict with the PDS error 5000 (rsAdminInfoNotFound), and the logon error 5000 (Unspecified login failure).

5000: Unspecified logon failure.

5001: Access to the database was unsuccessful.

5002: The user being authenticated was not found in the database.

5003: No user security context was detected (for integrated security only).

5004: Retrieval of the user columns was not successful.

5005: The password supplied was incorrect.

5006: Unable to create a session for the user.

5007: Unable to create the security object to do the one-way hash on the password.

5008: An exception occurred getting the hash value on the password or the hashed password value from the database.

5009: Creation of the PjEncrypt object failed (for ProjectCentral 2000 accounts only).

5010: An exception occurred getting the hash value from PjEncrypt or the user’s hash values from the database.

errPjNoSessionCookie = 5011

errPjNoSessionFound = 5012

errPjNoUserGUIDInSession = 5013

errPjNoUserIDInSession = 5014

errUserNotFoundOnSessionStart = 5015

errPjUserLogonDenied = 5016

errNTUserLogonDenied = 5017

errNoCredentials = 5018

Top of page

Context Navigator Errors

rsNavigatorFailedCreate = 6000

rsNavigatorUsePJQueryConnectionFailed = 6001

rsNavigatorGetSchedulingContextForProjectFailed = 6002

Top of page

Task Maintenance Errors

rsTaskIDMultiplesInvalid = 7000

rsTaskIDInvalid = 7001

rsTaskNameMultiplesInvalid = 7002

rsTaskNameTooLong = 7003

rsTaskNotSpecified = 7004

rsTaskTypeInvalid = 7005

rsTaskPriorityInvalid = 7006

rsTaskConstraintTypeInvalid = 7007

rsTaskDurationFormatInvalid = 7008

rsTaskNameInvalid = 7008

rsTaskIDMaxValueExceeded = 7009

rsTaskConstraintTypeRequiresConstraintDate = 7010

rsTaskConstraintTypeCannotHaveConstraintDate = 7011

rsTaskSummaryTaskMustHaveChildren = 7012

rsTaskSummaryTaskCannotBeMilestone = 7013

Top of page

Server Security PDS Extension Errors

The PDS extension errors for server security are enumerations 8000 – 8199.

rsPSUserNameNotSupplied = 8000

rsPSUserNameInvalid = 8001

rsPSGroupNameNotSupplied = 8002

rsPSGroupNameInvalid = 8003

rsPSUserIsAdministrator = 8004

rsPSUserAlreadyInGroup = 8005

rsPSUserNotInGroup = 8006

rsPSUserADGUIDRequiresNTAccount = 8007

Top of page

Service for Enterprise Data Maintenance Errors

Note The Service for EDM methods can return the following errors. These methods include EnterpriseFieldUpdate, ProjectTeam, ResourcesUpdate, and ResourcesDeactivate.

PdsbizInternalError = 8000

LoginURLInvalid = 8001

PdsCallFailed = 8002

UIDNotFound = 8003

DocumentProcessingError = 8004

DocumentMergeError = 8005

PWAAccessDenied = 8007

DocumentParseError = 8008

DocumentTransformError = 8009

InvalidResourceCode = 8010

InvalidResourceCodeValue = 8011

ProjectValidationFailed = 8012

ReplaceResourcesFailed = 8013

DeleteResourcesFailed = 8014

Top of page

Exception Errors

All exception errors are 9000 or above.

rsExceptionError = 9000

rsExceptionDataServiceCreate = 9001

rsExceptionDataService = 9002

rsExceptionDataAccessCreate = 9003

rsExceptionDataAccess = 9004

rsExceptionSecurityCreate = 9005

rsExceptionSecurity = 9006

rsExceptionDSNCreate = 9007

rsExceptionMain = 9008

rsExceptionStringToDate = 9009

rsExceptionProcessEnterpriseProject = 9100

rsExceptionProcessEnterpriseResource = 9101

rsExceptionMsgHandlerProcessXML = 9102

rsExceptionPjSvrSecurityAddResource = 9103

rsExceptionBuildTheOLAPCube = 9104

rsExceptionCheckSPObjectPermission = 9105

rsExceptionCheckSPGlobalPermission = 9106

rsExceptionDeletePCProject = 9107

rsExceptionResourceActivate = 9108

rsExceptionProjectNameDecode = 9109

rsExceptionSchedulingContext = 9110

rsExceptionCheckOLAPCube = 9111

rsExceptionPjSvrSecurityGetResourcesResCanViewByViewID = 9112

rsExceptionValidateResourceName = 9113

rsExceptionPjSvrSecurityModifyResource = 9114

rsExceptionInitPjSvrSecurity = 9115

rsExceptionPjSvrSecurityGetNumberOfResourcesResCanViewByViewID = 9116

rsExceptionPjSvrSecurityGetResourceListForUserByObjectLevelPermission = 9117

rsExceptionOverlappingMSPWEBWORKentriesAlreadyInDB = 9118 (overlapping entries in MSP_WEB_WORK, e.g.: same day, same worktype)

rsExceptionMultipleEGlobals = 9119

rsExceptionMultipleResGlobals = 9120

rsExceptionValueListDescriptionOrPhoneticsWithoutItem = 9121

rsExceptionBlankEntListSep = 9122 (Blank or null MSP_PROJECTS.PROJ_ENT_LIST_SEPARATOR)

rsExceptionCreateSharepointSite = 9123

rsExceptionCheckSPGlobalPermissionList = 9124

rsExceptionSPGlobalPermissionListNotComplete = 9125

rsExceptionAssignmentsActualsPeriod = 9126

rsExceptionTimephasedDataInClosedPeriod = 9127

rsExceptionDecompressWebWork = 9128

rsExceptionRemoveUserFromSTS = 9129

rsExceptionProjectResourcesBatchSecurityCheck = 9130

rsExceptionPjSvrSecurityGeneric = 9200

rsExceptionPSNewUser = 9201

rsExceptionPSGroupsGet = 9202

rsExceptionPSGetUsersInGroup = 9203

rsExceptionPSAddUsersToGroups = 9204

rsExceptionPSDeleteUsersFromGroups = 9205

9300 - 9599 are data access exception errors, and are not enumerated. Status error codes over 9300 are the result of something going wrong while accessing the database. You can use the Project Server Tracing Service or the SQL Profiler, or both, to help figure out what is happening. For more information, see Project Server 2003 SetTracing Utility, and Monitoring with SQL Profiler in Microsoft SQL Server Books Online.

Top of page