Export fail P6 XER to XML

G'day,

I'm trying to export a simple Primavera P6 (XER) schedule to XML and keep getting Export Fail and the following msg:

 

 

Prism.Modularity.ModuleInitializeException: An exception occurred while initializing module 'CommandLineModule'.

    - The exception message was: One or more errors occurred.

    - The Assembly that the module was trying to be loaded from was:Primavera.Mercury.CommandLineModule, Version=17.7.0.24571, Culture=neutral, PublicKeyToken=null

    Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.

   ---> System.AggregateException: One or more errors occurred. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

   at System.ThrowHelper.ThrowKeyNotFoundException()

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at Primavera.Domain.Base.Calendar.CreateWorkWeekDaysFromData(String data)

   at Primavera.Domain.Base.Calendar.get_WorkWeekDays()

   at Primavera.Venus.Data.FileStore.ApiXmlCalendarDataExport.ExportCalendarData(Calendar calendar, XmlElement CalNode)

   at Primavera.Venus.Data.FileStore.ApiXmlExtraObjects.HandleExtraObjects(Entity anEntity, XmlElement aNode)

   at Primavera.Venus.Data.FileStore.ApiXmlProjectExporter.ExportOneEntity(Entity anEntity, IEntityMetadata metaData, XmlElement root, WBS rootwbs)

   at Primavera.Venus.Data.FileStore.ApiXmlProjectExporter.ExportProjectTables(Project project, IEntityMetadata projectMetaData, XmlElement root)

   at Primavera.Venus.Data.FileStore.ApiXmlProjectExporter.ExportProjectTables(XmlDocument doc)

   at Primavera.Venus.Data.FileStore.ApiXmlProjectExporter.DoExport(XmlDocument doc)

   at Primavera.Venus.Data.FileStore.ApiXmlProjectExporter.Export(EntityContext anEntityContext, IApiXmlCommitOptions anExportConfig, String FileName)

   at System.Threading.Tasks.Task`1.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Primavera.Venus.Data.FileStore.ApiXmlDatastore.<CommitChanges>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Primavera.Mercury.CommandLineModule.ExecuteImportExport.<DoExport>d__20.MoveNext()

S
Santosh Bhat 👤 Member for 21 years 1 month

Norbert, I suggest you searh for this on the Oracle Support site using your support identifier.

N
Norbert Glazer 👤 Member for 7 years 6 months

Hi Santosh, 

i have the Primavera P6 Professional 17.7 i guess

as that the export format 17.7 or later is highlited

S
Santosh Bhat 👤 Member for 21 years 1 month

A quick search on Oracle support says "This issue has been resolved and the fix has been included as part of the P6 18.6 Release and the 17.12.6.0 Patch Set. All subsequent Patch Sets for this release versions will also include the fix."

 

Forum Sponsor

Top Posters

Julian Pegg
1 posts
Peter Nagy
2 posts
Raymund de Laza
17 posts
Syed_Asad
0 posts
Tony Greyvenstein
0 posts
Ahmed Al-Jubouri
13 posts
Umar Alvi
3 posts
Sibusiso Mahlalela
0 posts
Michael Samanyayi
3 posts
Simon Gumede
0 posts