I have been using SSIS 2008 until recently and moved to 2014 and are doing testing to make sure everything works correctly. I did not upgrade the packages, but I am running the packages designed in 2008 directly in 2014 SQL Servers.
All the functionality is working correctly except for error logging.
Ex: In 2008, if there is an issue with the file that I am processing I get the log message "The file has only 5 columns, expected 6".
In 2014, for the same issue all I get is "Exception has been thrown by the target of an invocation.
The custom error message I throw in the validation is being caught by the onerror event handler to and logged as required. Is there any specific change required in 2014 to get the correct error message?
In the onerror event handler the error message is being read from System:ErrorDescription property.
Thanks,
Sandeep