2
respostas

[Bug] Erro na inserção da tabela fato001

Erro: 0xC0209029 em Carga Fato 001, Inserir Destino [178]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Inserir Destino.Entradas[Entrada de Destino OLE DB]" failed because error code 0xC020907B occurred, and the error row disposition on "Inserir Destino.Entradas[Entrada de Destino OLE DB]" 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. Erro: 0xC0047022 em Carga Fato 001, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Inserir Destino" (178) failed with error code 0xC0209029 while processing input "Entrada de Destino OLE DB" (191). 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. Informações: 0x40043008 em Carga Fato 001, SSIS.Pipeline: Post Execute phase is beginning. Informações: 0x4004300B em Carga Fato 001, SSIS.Pipeline: "Inserir Destino" wrote 0 rows. Informações: 0x40043009 em Carga Fato 001, SSIS.Pipeline: Cleanup phase is beginning. Falha na tarefa: Carga Fato 001 Aviso: 0x80019002 em CargaFatos: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (3) 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. Pacote SSIS "C:\Users\3346.ADM-UCDB\Desktop\Projetos\DataWarehouseSucos\CargaDatawareshouse\CargaFatos.dtsx" concluído: Falha.!

2 respostas

Não esta dando certo e não consegui ver qual o motivo

Olá, Sebastião, tudo bem?

O erro aponta para tentativas de inserir dados em uma tabela, que não existem na tabela de origem.

Portanto, verifique o período de tempo que colocou como parâmetro na dimensão tempo. Ele precisa contemplar o período que configuramos como parâmetro na carga da Fato 001.

Deixo o link que fala um pouco mais sobre esse erro:

Caso não esteja contemplando o ano, você deverá fazer alterações no código. Abaixo deixo uma solução de um aluno como exemplo:

Espero ter ajudado

Caso o problema persista, fico à disposição para tentar solucionar o problema.

Abraços e até mais!

Caso este post tenha lhe ajudado, por favor, marcar como solucionado ✓. Bons Estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software