Build Failed for SSIS Solution in VS2017

  • We have our SSIS solution up and running in VS2012, and we want to migrate to VS2017. But when we open the solution and do a build on VS2017 (Version - 15.9.14), without changing the target server or any settings, the build failed with the below error message.

    Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

    ---> System.Runtime.InteropServices.COMException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackagePersist100.LoadPackageFromXML(Object vSource, Boolean vbSourceIsLocation, IDTSEvents100 pEvents)

    at Microsoft.SqlServer.Dts.Runtime.Package.LoadFromXML(String packageXml, IDTSEvents events)

    --- End of inner exception stack trace ---

    at Microsoft.SqlServer.Dts.Runtime.Package.LoadFromXML(String packageXml, IDTSEvents events)

    at Microsoft.SqlServer.Dts.Runtime.Project.LoadPackage(IProjectStorage storage, Package package, String streamName, IDTSEvents events)

    at Microsoft.SqlServer.Dts.Runtime.PackageItem.Load(IDTSEvents events)

    at Microsoft.SqlServer.Dts.Runtime.PackageItem.get_Package()

    at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.IncrementalBuildThroughObj(IOutputWindow outputWindow)

    at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow) 0

    Current version running and built successfully in VS2012. Details are as follows:

    VS2012 - 11.0.50727.1

    SSDT - 11.1.20627.00

    SQL Server Integration Services - 11.0.5583.0

    New version of Visual studio where its failing as below:

    VS2017 - 15.9.14

    SSDT - 15.1.61906.0.3120

    SQL Server Integration Services - 15.0.1301.433

    How to fix this build issue on the new version of VS2017?

    Tried so many stuffs from many forums, but no luck.

    Note: I have VS2012, VS2013, VS2017 installed on my local.

    • This topic was modified 4 years, 8 months ago by  nikhilkattil.
  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • I was able to solve the issue, by opening the individual dtsx packages which are failing while doing the build, in edit mode and moved the below tag in the xml from bottom to line no:3 in the xml and save it.

    <DTS:Property DTS:Name="PackageFormatVersion">6</DTS:Property>

    After which the re-build went successful without any errors.

    Hope this would be helpful to others.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply