Quantcast
Channel: Primavera Online Interaction » PMDB
Viewing all articles
Browse latest Browse all 92

prim12472:Error: “Event Code UCVFR-2024-2″ or “Event Code CVRJC-2104-4″ when importing XER file

$
0
0
Solution ID: prim12472
Error: "Event Code UCVFR-2024-2" or "Event Code CVRJC-2104-4" when importing XER file
Status: Reviewed
Version(s): 3.5.1, 4.0, 4.1

Problem:

*****************************************************
*                EXCEPTION  REPORT                  *
*****************************************************
Date:          11-Aug-2004 05:15 PM


Executable:    PM.exe
Application:   Primavera Project Management
Event Code:    UCVFR-2024-2
Message:      
  Unique Constraint violated. Field rsrc_id is null.


Context:
  1: TfrmWizImport.wizImportFinish
  2: TfrmWizImport.RunImportWizard
  3: TfrmMain.actProjectsExecute
  4: TfrmMain.actFileImportExecute
  5: TCFormManager.SetToolbar
  6: TfrmLogin.FormCreate
  7:
  8:
  9:
  10:


Detail:
  Type:        Exception
  Object Type: TCUltraButton



Components
==========
ORI: ORI Win32 #
ORI/DB: PMDB,0350.0005.0004.0002
IMG: IMG Win32 #1000
DLL: (failed to query D:/PRIMAVERA ENTERPRISE 3.5.1/PROJECT MANAGER/../COMMON/BIN/DBCFGLIB.DLL)


System Info
===========
Username: Stuartw   Hostname: STUARTWILLIAMS
OS Version: Windows NT ver 5.1, build 2600, Service Pack 1 (Intel Pentium)
BDE Version: 500 (1901-5-11) OTHER
BDE Ini file: C:\Program Files\Borland\Common Files\BDE\IDAPI32.CFG

Problem: Error: “Event Code CVRJC-2104-4 with orphaned rows in the TASKRSRC table” when importing XER file
Cause: Resource references in tables such as TASKRSRC do not exist in the RSRC (Resource) table.
Fix: The resource assignments without a reference to the Resource table need to be removed from the XER file.  To find the problematic rows, open the XER file in notepad or Excel.  The error references the rsrc_id and checks all joins that use this id.  For example, below is an extract of TASKRSRC from the sample project AUTO.

%T TASKRSRC
%F taskrsrc_id  task_id  proj_id  work_flag  cost_qty_link_flag  role_id  acct_id  rsrc_id 
%R 7014           33521    278       Y                Y                            337       1179     3 


This row references rsrc_id 3.  Compare that to an extract of the table RSRC.


F rsrc_id parent_rsrc_id clndr_id
%R 1169   1209                 590  
%R 1170   1222                 597  
%R 1171   1208                 597  
%R 1172   1221                 597 


However, resource with an ID of 3 does not exist in the RSRC table.


So the row:


%T TASKRSRC
%F taskrsrc_id  task_id  proj_id  work_flag  cost_qty_link_flag  role_id  acct_id  rsrc_id 
%R 7014           33521    278       Y                Y                            337       1179     3 


Would need to be removed from the XER file.


Viewing all articles
Browse latest Browse all 92

Trending Articles