title: Multiple SSIS Package errors
body: <p>I have an SSIS package that was built 3 years ago by someone else that is long gone. I have ran it multiple times over the past year, and now I am getting these errors and I do not know why they are coming up. This ssis package imports from an excel doc to a temporary table. Once the info is on the temp table the second time it is run, it takes from the temp table and inserts it with additional columns into the production table. These are the errors I am getting:</p>
  
  <pre><code>[OLE DB Destination [162]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has 
  occurred. Error code: 0x80004005.
  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult:
  0x80004005  Description: "Unspecified error".
  
  [OLE DB Destination [162]] Error: There was an error with input column "UserProfileID" (299) on 
  input "OLE DB Destination Input" (175). The column status returned was: "The value violated the 
  integrity constraints for the column.".
  
  [OLE DB Destination [162]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The
  "input "OLE DB Destination Input" (175)" failed because error code 0xC020907D occurred, and 
  the error row disposition on "input "OLE DB Destination Input" (175)" specifies failure on 
  error. An error occurred on the specified object of the specified component.  There may be 
  error messages posted before this with more information about the failure.
  
  [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on 
  component "OLE DB Destination" (162) failed with error code 0xC0209029 while processing input 
  "OLE DB Destination Input" (175). The identified component returned an error from the 
  ProcessInput method. The error is specific to the component, but the error is fatal and will
  cause the Data Flow task to stop running.  There may be error messages posted before this with 
  more information about the failure.
  </code></pre>
  
  <p>When I saw "error with input column 'UserProfileID'" i looked at it in the temp table and it is null. This is one of the columns that the package is supposed to find when it is run. But I don't know if that info is found with the second run or if it is supposed to populate the first time. So I am unsure if that is what the problem I am having is.</p>
  
  <p>I appreciate any help that I can get. If any additional info is needed I can try and provide it. Thank you to anyone that can offer help.  </p>
  
  <p><img src="https://i.stack.imgur.com/rA5sL.png" alt="Importing from Excel File to temp table">
  <img src="https://i.stack.imgur.com/nChQf.png" alt="Importing from Temp table to real table">
  <img src="https://i.stack.imgur.com/fx8BE.png" alt="Data Flow"></p>