Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 113075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:38:42+00:00 2026-05-11T02:38:42+00:00

H guys. I’m developing a custom component for SSIS. I’m having a problem when

  • 0

H guys. I’m developing a custom component for SSIS. I’m having a problem when processing inputs. The problem is that the ‘ProcessInput’ method gets executed more than once. Two times in this case.

This is the process input snippet:

public override void ProcessInput(int inputID, PipelineBuffer buffer) {     IDTSInput90 input = ComponentMetaData.InputCollection.GetObjectByID(inputID);     if (input.InputColumnCollection.Count > 0)     {         while (buffer.NextRow())         {             try             {                 for (int columnIndex = 0; columnIndex < input.InputColumnCollection.Count; columnIndex++)                 {                      ColumnInfo columnInfo = _columnInfos[input.InputColumnCollection[columnIndex].ID];                     IDTSInputColumn90 inputColumn = input.InputColumnCollection[columnIndex];                     try                     {                         //write to destination                     }                     catch (Exception writeEx)                     {                         throw new Exception('Couldn't write to destination');                     }                 }             }             catch (Exception ex)             {                 throw ex;             }         }     }     else     {         throw new Exception('There is no columns in the input collection');     }  } 

I have no idea why its being called twice. This is the dataflow:

Dataflow http://img371.imageshack.us/img371/3001/dataflowprocessinputrb6.png

And this is the mapping window: Mapping window http://img78.imageshack.us/img78/3772/mappingprocessinputzs2.png

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:38:43+00:00Added an answer on May 11, 2026 at 2:38 am

    This is by design. SSIS sends data in chunks (buffers in SSIS terminology), to optimize memory usage. The buffer size is limited, so SSIS does not have to read all the data into memory (otherwise SSIS would not be able to process terabytes of data). So you can get multiple ProcessInput calls – one ProcessInput call per buffer.

    In addition, you’ll get one empty buffer with EndOfRowset flag set to true at the very end. But don’t rely on this – this is more of an implementation detail (the last buffer is documented to have EndOfRowset = true, but it is not documented to be empty).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Use fgets(). Yeah, link is to cplusplus, but it originates… May 11, 2026 at 12:58 pm
  • added an answer Yes, it will, as per C++11: 12.6.2 /10 (same section… May 11, 2026 at 12:58 pm
  • added an answer ‘transform’ alters the orientation of the entire element you declare… May 11, 2026 at 12:58 pm

Related Questions

H guys. I'm developing a custom component for SSIS. I'm having a problem when
game.h needs: - packet.h - socket.h socket.h needs: - game.h The problem comes when
In rpc.h, the GUID structure is declared as follows: typedef struct _GUID { DWORD
I.e.: echo H#97llo | MagicPerlCommand Stdout: Hallo were MagicPerlCommand is something like perl -pnle
In unbiased coin flip H or T occurs 50% of times. But I want
I have a number of VC 6.0 projects (dsps) which build into dlls which
I'm having a hard time understanding and therefore managing arrays and indexes manually in
This is going to sound like a silly question, but I'm still learning C,
Is there some smart way to retreive the installation path when working within a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.