SSIS Error: VS_NEEDSNEWMETADATA

As stated in comments,
if it runs ok in your development environment, then the problem isn't with the package, it's with the scheduled job on the server. Try recreating that.

If that doesn't work,
It seems like the server has a cached instance of the package it's using instead of the updated one. Try renaming your package and creating a new job with the new package name and see if that works.

If that doesn't work, all I can recommend at that point is to cut the package down until it succeeds, then add the next step that fails.

Sounds like from your solution the development environment is more forgiving of schema updates than the deployed solution. Glad you were able to resolve, eliminating clutter helps.


I finally found the issue and here's how I did it.

Because the error messages I was getting from SSMS weren't very insightful I first opened up my remote desktop and logged into the server. Then I went to Administrative Tools>Event Viewer and then Windows Logs>Application to see if the failed event would provide greater detail.

enter image description here enter image description here It didn't give me much still.

The next step I took was to run the package from the command line because the messages should be more verbose. Opened up cmd, changed directory to the one my package was in and then...

DTEXEC /FILE YourPackageName.dtsx

Finally, the error message here showed a missing column in the tables the package was trying to write to. I added those columns and voila!


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 ValidateExternalMetadata and set it to False.

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

enter image description here