SSIS Error: VS_NEEDSNEWMETADATA

Jonathan Porter picture Jonathan Porter · Dec 29, 2016 · Viewed 42.2k times · Source

I'm currently updating all of our ETLs using Visual Studio 2015 (made in BIDS 2008) and redeploying them to a new reporting server running on SQL Server 2016 (originally 2008R2).

While updating one of the ETLs and trying to run on the new server I got this error:


The package execution failed. The step failed.

Sometimes it also produces this error:

Source: Load Fact Table SSIS.Pipeline Description: "Copy To Fact Table" failed validation and returned validation status "VS_NEEDSNEWMETADATA".


I've tried deleting and re-adding the OLEDB Destination, connection strings and opened up the column mappings to refresh the meta data. I also recreated the whole data flow task but I'm still getting the same error.

The package runs fine on my local machine.

UPDATE:

I started taking the package apart and running only pieces of it to try and narrow down which part was failing. It seemed to be failing on loading into the staging table but I couldn't find out why.

I eventually decided to just try and re-create the whole thing. After re-creating the entire package, still no luck. The picture below is from the event viewer on the server itself but it didn't give me any new information.

enter image description here

Package error from event viewer

Answer

Pavithran picture Pavithran · Nov 20, 2018

I have tried all the solutions provided above and the other sites. Nothing worked.

I got a suggestion from my friend Which worked for me.

Here are the steps:

  1. Right click on the Source/Target Data flow component.
  2. Go to Advanced Editor -> Component Properties
  3. Find ValdateExternalMetadata to False.

Try your luck. This is a pathetic issue and left me clueless for 2 days.

enter image description here