Description: This solution describes how to resolve the Error: UnhandledException: System.InvalidCastException: Conversion from string "" totype 'Integer' is not valid. ---> System.FormatException: Input string wasnot in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at IOM.IOMConsole.Main(String[] cmdArgs)
Environment: Not hosted
Versions: All
Answer:
This error occurs when using ImportOmatic Scheduler and there is something wrong with the syntax - a missing space, a missing dash, or no quotation marks around commands with spaces.
Review the syntax carefully and make necessary edits.
Refer to the ImportOmatic User Guide for additional information.