Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Erro ao executar carga dimensões

Olá! Segui os passos umas 4x, reiniciei o computador, deletei tudo e refiz do 0. Continuo com o mesmo erro. Já vi todas as respostas do fórum e nenhuma me ajudou. Alguma luz?

Inicialização do pacote SSIS "C:\Users\Carol\projetos\Sucos\WarehousedoSuco\CargaDatawarehouse\CargaDimensoes.dtsx". Informações: 0x4004300A em Criação da Dimensão Organizacional, SSIS.Pipeline: Validation phase is beginning. Informações: 0x4004300A em Criação da Dimensão Organizacional, SSIS.Pipeline: Validation phase is beginning. Informações: 0x40043006 em Criação da Dimensão Organizacional, SSIS.Pipeline: Prepare for Execute phase is beginning. Informações: 0x40043007 em Criação da Dimensão Organizacional, SSIS.Pipeline: Pre-Execute phase is beginning. Informações: 0x4004300C em Criação da Dimensão Organizacional, SSIS.Pipeline: Execute phase is beginning. Erro: 0xC0202009 em Criação da Dimensão Organizacional, Inserir Destino [39]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E2F. An OLE DB record is available. Source: "Microsoft OLE DB Driver for SQL Server" Hresult: 0x80040E2F Description: "The statement has been terminated.". An OLE DB record is available. Source: "Microsoft OLE DB Driver for SQL Server" Hresult: 0x80040E2F Description: "Cannot insert the value NULL into column 'Nível', table 'DW_SUCOS.dbo.Dim_Organizacional'; column does not allow nulls. INSERT fails.". Erro: 0xC0209029 em Criação da Dimensão Organizacional, Inserir Destino [39]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Inserir Destino.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Inserir Destino.Inputs[OLE DB Destination Input]" 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 Criação da Dimensão Organizacional, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Inserir Destino" (39) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (52). 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 Criação da Dimensão Organizacional, SSIS.Pipeline: Post Execute phase is beginning. Informações: 0x4004300B em Criação da Dimensão Organizacional, SSIS.Pipeline: "Inserir Destino" wrote 0 rows. Informações: 0x40043009 em Criação da Dimensão Organizacional, SSIS.Pipeline: Cleanup phase is beginning. Falha na tarefa: Criação da Dimensão Organizacional Aviso: 0x80019002 em CargaDimensoes: 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\Carol\projetos\Sucos\WarehousedoSuco\CargaDatawarehouse\CargaDimensoes.dtsx" concluído: Falha.

2 respostas

Oiii Carolina, tudo bem?

Source: "Microsoft OLE DB Driver for SQL Server" Hresult: 0x80040E2F Description: "Cannot insert the value NULL into column 'Nível', table 'DW_SUCOS.dbo.Dim_Organizacional'; column does not allow nulls.

Esse erro, quer dizer que não pode inserir dados nulos na coluna Nível, porém de acordo com a aula, a coluna fica nula mesmo, junto com Cod_Pai, Esquerda e Direita.

alura

Verifique na sua tabela "Dimensão Organizacional" se a coluna "Nível" está com acento, se tiver, ajuste e tente fazer o processamento da carga. Pode ser que esteja retornando esse erro por não encontrar a coluna.

Me avise se der certo, tá bom? :)

solução!

Mari, brigada pelo help! Não era o acento (testei), na verdade nunca saberei o que era, pq deletei e refiz toda a tabela Dim_Organizacional hahahahaha Com certeza era algo nela. Agora posso prosseguir. Um beijo.

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