SSIS VS_NeedsnewMetadata

Posted on 2012-09-12
Last Modified: 2012-09-28
Hi all i am using a package that takes tables from a foxpro Database and puts into Sql

the foxpro database has recntly been upgraded to a different version and ever since then my package is failing.

i get the following

"Error Component source 8 dmcomp (2987) failed validaion and returned validation status VS_NeedsnewMetaData"

i have checked that no new feilds etc have been created in the upgrade and cannot see anything.

can anybody help

Question by:pepps11976
    LVL 12

    Expert Comment

    It is far from elegant, but if you edit your package and open the components in your data flow, it will prompt you for automatic metadata updates.
    Then save a redeploy your package.

    I'll be watching eagerly to see if anyone else has another method to deal with this.

    Author Comment

    Yes i have already tried that however it seems to be still failing


    Author Comment

    ok i am going to try to takethis one peice at a time hope someone can help the first error tha i am getting in my package now is

    Cannot insert the value Null into column 'hourcharge' table DB_opera_copy.dbo.dmcomp' column does not allow nulls insert fails

    Does anybody know how i can get this to accept Nulls
    LVL 12

    Accepted Solution

    This will do it, but be sure to replace varchar(25) with your data type

    use DB_opera_copy
     alter table dmcomp
     alter column hourcharge varchar(25) null;

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
    Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now