Exporting MSP files to Primavera

Member for

17 years 6 months

1) P6 + MSP 2003 (MPP)

2) P6 v7.0 sp3 + MSP 2007 (XML)

 

In Any case, we should check activities. When importing to Primavera summary activities can be added...

Member for

14 years 2 months

Hello

I am currently having a lot of trouble trying to Import an MSP file from MSP 2007 to Primavera.

 

I am using Primavera 6 version 2 and I have Project 2007. I have followed all necessary steps to Import. (I converted the MSP file to XML by just saving the file as XML)

 

I went to File > import > chose Microsoft Project and under the Drop Down I could only choose MPX or XML so used XML as I have already tried MPX with no luck.

 

When I go to Finish and starts the import once it is done it comes up with an Error box saying: Process Complete with errors. See log file for details.

 

I have checked through these log files and can't seem to find the problem.

 

here is the log file I have below:

File path: C:\Users\rjp\AppData\Local\Temp\NewCalltake73.primavera.xml

Namespace: http://api.primavera.com/2008/p6/6.2/BusinessObjects

WARNING: Referenced business object Calendar with object id 0 cannot be found, ignoring field CalendarObjectId on business object Activity '5' (5)

SEVERE: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
com.primavera.integration.client.xml.xmlimporter.XMLImporterException: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.if(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.if(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.createNewProject(XMLImporter.java)
at com.primavera.integration.app.importexport.ImportExportAction.a(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.doImport(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.execute(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source)
Original Exception:
com.primavera.integration.client.bo.BusinessObjectException: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
at com.primavera.integration.client.bo.BOHelperImpl.setValue(BOHelperImpl.java)
at com.primavera.integration.client.xml.a.b.m.a(DefaultConverter.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.if(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.if(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.createNewProject(XMLImporter.java)
at com.primavera.integration.app.importexport.ImportExportAction.a(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.doImport(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.execute(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source)
Original Exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.primavera.integration.client.bo.BOHelperImpl.setValue(BOHelperImpl.java)
at com.primavera.integration.client.xml.a.b.m.a(DefaultConverter.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.if(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.a.if(ImportWorker.java)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.createNewProject(XMLImporter.java)
at com.primavera.integration.app.importexport.ImportExportAction.a(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.doImport(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.execute(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source)
Caused by: com.primavera.integration.client.bo.InvalidValueException: Field "Name" in Activity may not be of zero length.
at com.primavera.integration.client.bo.object.Activity.setName(Activity.java)
... 18 more

 

Help!!!

Thanks

Member for

16 years 7 months

Do a standard quality check on the schedule.

 

Check for:

1) planned work earlier than the status / data date

2) actual work later than the status / data date

3) actual starts on activities with planned predecessors (out of sequence working)

4) over allocated resources

5) constraints applied which cannot be met / any negative float

6) external tasks, subprojects or predecessors

 

 

But before you do any of this, I would advise you create a simple "clean" 3-activity schedule in MS Project and try to import that. If that works, you know it is something wrong with the MS Project file you want to import, in which case perform the above checks. If it doesn't work, it's probably a problem for IT department / Oracle tech support to help you with.

 

Member for

14 years 9 months

Thanks Gary.

 

How can I be sure that there is no scheduling conflicts beforehand.

 

Thanks

 

Samer

Member for

16 years 7 months

Samer,

 

see my previous post for detailed instructions.

Member for

14 years 9 months

Hi Gary,

 

Could you please tell me how to export the MSP file to Primavera?

 

Because I tried to such thing in all choices, MPP or XML and it did not work.

 

Thanks

 

Samer

Member for

16 years 7 months

It's fairly simple, so there may be something wrong with your setup?

 

1) Go to File, import,

2) select Microsoft Project button, and XML, MPP or MPX from the drop down list. hit next

3) choose project, resource or summary button. hit next

4) hit select, and choose the file you want. Import action should be "create new project". choose EPS node to import to. hit next

5) if you have a template, or want to create one then choose it. if not, hit next

6) hit finish

 

One thing tocheck is that the MS Project file you are trying to import contains no scheduling conflicts beforehand. Since Primavera (rightly) will not allow you to create a schedule with such conflicts, I doubt it would let you import one either.

Member for

14 years 9 months

Hi Gary,

 

Could you please tell me how to export the MSP file to Primavera?

 

Because I tried to such thing in all choices, MPP or XML and it did not work.

 

Thanks

 

Samer

Member for

16 years 7 months

Yes you can.

I'm currently using P6.2, and I can import Project files in XML, MPP or MPX format.

 

Beware of doing this, though. Trasferring programmes between different softwares will often lead to translation errors, so check any import thoroughly before trusting it.