Quantcast
Channel: Primavera Online Interaction » WARNING
Viewing all articles
Browse latest Browse all 61

prim15045:Error: Duplicate Resource Found when importing fromMicrosoft Project

$
0
0
Solution ID: prim15045
Error: Duplicate Resource Found when importing from Microsoft Project
Status: Reviewed
Version(s): 3.5.1, 4.0, 4.1, 5.0, 6.0, 6.1, 6.2, 6.2.1

Problem: Error: Duplicate Resource Found when importing from Microsoft Project
Problem: The Error Log reads as follows:

INFORMATION: Process Started: 09-23-2004 14:50:55
INFORMATION: Importing from: C:\GGCProjec_testt.mpp – GGCProjec_testt
INFORMATION: Template: MSP Import
INFORMATION: Microsoft Project version: 9.0
INFORMATION: Creating temporary working file…
INFORMATION: Temporary working file C:\DOCUME~1\mcmahonp\LOCALS~1\Temp\prmTemp38253-6187269676.mdb created successfully.
INFORMATION: Microsoft.Jet.OLEDB.4.0 (C:\WINNT\system32\MSJET40.DLL): 4.0.8618.0
INFORMATION: Validating Resource IDs…
INFORMATION: SQL: select * from MSP_RESOURCES where (RES_UID > 0) and ( (RES_INITIALS IS NOT NULL) or (RES_NAME IS NOT NULL) ) and (RESERVED_DATA IS NULL) order by RES_ID
INFORMATION: (Record Count: 8)
*** ERROR ***: The following resources have duplicate ID’s.  Update the resource initials in Microsoft Project.
*** ERROR ***: Resource Name=Resource ID
*** ERROR ***: Bloggs=J
*** ERROR ***: Brown=J
INFORMATION: Deleting temporary working files…
WARNING: Unable to delete temporary working file C:\DOCUME~1\mcmahonp\LOCALS~1\Temp\prmTemp38253-6187269676.mdb
INFORMATION: Process Ended: 09-23-2004 14:51:14

Cause: This problem is caused by the fact that the Microsoft Project field “Resource Initials” (which is not a primary key and does not need to be unique) is mapped to the Primavera field “Resource ID” (which is a primary key and therefore needs to be unique).  Consequently there can be duplicate Resource Names in Microsoft Project which will generate an error when they are imported into Primavera.
Fix: The key is to make sure that the data being imported into Primavera is clean before performing the import.  However, if this error is generated, the Error Log points out the names of the duplicate Resources.  In the above example, for instance:
*** ERROR ***: The following resources have duplicate ID’s.  Update the resource initials in Microsoft Project.
*** ERROR ***: Resource Name=Resource ID
*** ERROR ***: Bloggs=J
*** ERROR ***: Brown=J

These lines clearly indicate that the resources J Bloggs and J Brown both have an Initial of J, which is being imported into the Resource ID field and causing the error.  Manually changing these resources initials in Microsoft Project cures the problem, so that when the project is exported again, it will import to Primavera successfully


Viewing all articles
Browse latest Browse all 61

Trending Articles