Error: 'System.OverflowException: Value Was Either Too Large or Too Small for an Int16,' When Importing a Microsoft (MS) Project XML file
(Doc ID 2412949.1)
Last updated on JUNE 04, 2019
Applies to:Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.1 to 18.5 [Release 18.1 to 18.5]
Information in this document applies to any platform.
When importing an MS Project XML file, the Import result shows the process completed with errors. The file does not appear.
4/26/2018 8:10:24 PM Information Exception 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=18.104.22.168826, 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.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. --->
System.OverflowException: Value was either too large or too small for an Int16.
at System.Convert.ToInt16(Int32 value)
The issue can be reproduced at will with the following steps:
- Launch P6 Professional.
- Select File, Import.
- Select MS Project XML file type.
- Select file location.
- Click ok.
- Observe the errors in the log file.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document