Error using Incremental load
without incremental load,everything worked fine...but using incremental strategy error occurs SSIS package "Load_Dimension_Fact.dtsx" starting. Information: 0x4004300A at Student_Course_Fact, SSIS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Student_Course_Fact, SSIS.Pipeline: Validation phase is beginning. Warning: 0x80049304 at Student_Course_Fact, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console. Warning: 0x80047076 at Student_Course_Fact, SSIS.Pipeline: The output column "Dest_RegistrationNo" (210) on output "Union All Output 1" (194) and component "Union All" (192) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Student_Course_Fact, SSIS.Pipeline: The output column "Dest_Semester" (213) on output "Union All Output 1" (194) and component "Union All" (192) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Student_Course_Fact, SSIS.Pipeline: The output column "Dest_Course" (216) on output "Union All Output 1" (194) and component "Union All" (192) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Student_Course_Fact, SSIS.Pipeline: The output column "Dest_Marks" (219) on output "Union All Output 1" (194) and component "Union All" (192) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Information: 0x40043006 at Student_Course_Fact, SSIS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Student_Course_Fact, SSIS.Pipeline: Pre-Execute phase is beginning. Information: 0x4004300C at Student_Course_Fact, SSIS.Pipeline: Execute phase is beginning. Error: 0xC0202009 at Student_Course_Fact, Student_Course_Fact [239]: 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: "The statement has been terminated.". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Violation of PRIMARY KEY constraint 'PK__Student___188AFEE9787EE5A0'. Cannot insert duplicate key in object 'dbo.Student_Course_Fact'.". Error: 0xC0209029 at Student_Course_Fact, Student_Course_Fact [239]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (252)" failed because error code 0xC020907B occurred, and the error row disposition on "input "OLE DB Destination Input" (252)" 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. Error: 0xC0047022 at Student_Course_Fact, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Student_Course_Fact" (239) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (252). 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. Error: 0xC02020C4 at Student_Course_Fact, Registration [104]: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020. Error: 0xC0047038 at Student_Course_Fact, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Registration" (104) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. Information: 0x40043008 at Student_Course_Fact, SSIS.Pipeline: Post Execute phase is beginning. Information: 0x402090DF at Student_Course_Fact, Student_Course_Fact [239]: The final commit for the data insertion in "component "Student_Course_Fact" (239)" has started. Information: 0x402090E0 at Student_Course_Fact, Student_Course_Fact [239]: The final commit for the data insertion in "component "Student_Course_Fact" (239)" has ended. Information: 0x4004300B at Student_Course_Fact, SSIS.Pipeline: "component "Student_Course_Fact" (239)" wrote 9987 rows. Information: 0x40043009 at Student_Course_Fact, SSIS.Pipeline: Cleanup phase is beginning. Task failed: Student_Course_Fact Warning: 0x80019002 at Load Facts: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. Warning: 0x80019002 at Load_Dimension_Fact: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS package "Load_Dimension_Fact.dtsx" finished: Failure. The program '[5760] Load_Dimension_Fact.dtsx: DTS' has exited with code 0 (0x0). source table is SELECT [RegistrationNo] ,[Course] ,[Marks] ,[Semester] FROM [Registration] detination [Student_Course_Fact] ( [RegistrationNo] , [Semester], [Course], [Marks], [Grade] PRIMARY KEY ( RegistrationNo, Semester , Course) ) mhassanshahbaz
December 14th, 2010 2:27pm

it seems that there the combination RegistrationNo, Semester and course is repeating and since you have primary key on the destination table for this combination it is failing.
Free Windows Admin Tool Kit Click here and download it now
December 14th, 2010 2:45pm

you should use LOOKUP with whole these three fields: RegistrationNo, Semester , Course did you do that correctly? http://www.rad.pasfu.com
December 14th, 2010 3:26pm

I used but it had problem,violation of duplicate keymhassanshahbaz
Free Windows Admin Tool Kit Click here and download it now
December 15th, 2010 9:55am

then i used ID auto increment + registration as PK,it solved mhassanshahbaz
December 15th, 2010 10:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics