ssis Package validation error ole db source failed
Asked Answered
F

5

17

I am getting the following error when I try and run my package. I am new to ssis. Any suggestions. Tahnks

===================================

Package Validation Error (Package Validation Error)

===================================

Error at Data Flow Task [SSIS.Pipeline]: "OLE DB Source" failed validation and returned validation status "VS_NEEDSNEWMETADATA".

Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.

Error at Data Flow Task: There were errors during task validation.

(Microsoft.DataTransformationServices.VsIntegration)


Program Location:

at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(Int32 launchOptions) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

Felicitasfelicitate answered 12/9, 2014 at 21:7 Comment(0)
F
8

VS_NEEDSNEWMETADATA shows up when the underlying data behind one of the tasks changes. The fastest solution will probably be to just delete and re-create each element which is throwing an error.

Forethought answered 29/2, 2016 at 21:29 Comment(0)
E
5

How about disabling validation checks?

Like if you right click on source or destination component and select properties then you will have the property named validateExternalMetadata put that as false and try.

This Solution is working for me.

Eucalyptus answered 30/11, 2018 at 10:30 Comment(0)
I
2

This normally occurs if there has been a change to your schema, not to stress, just double click on your input and output and it should resolve itself

Isomerize answered 29/11, 2017 at 9:15 Comment(0)
T
1

Make sure your connection is valid. If you are using dynamic connections, then try to set the option "delay validation" = true on the package or dataflow.

Ti answered 12/9, 2014 at 21:19 Comment(0)
F
1

In my case destination table structure was not matching with matadata in OLEDB component. I added the missing column which i forgot to add and after that it was fixed.

Ferrer answered 3/10, 2017 at 11:4 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.