1
resposta

Problema na leitura do dado CSV no processo de carga da Dim_cliente

Boa tarde Pessoal!

Ao tentar fazer a carga na dimensão de cliente, na origem do dado de CSV está a dar erro. Fico com a ideia que a aplicação não consegue ler o ficheiro CSV. Agradeço o vosso apoio no esclarecimento desse processo.

Abraços João Ledo - Cabo Verde Reproduzo em baixo o relatório de compilação: SIS package "C:\projetos\DatawarehouseSucos\CargaDatawarehouse1\CargaDimensoes.dtsx" starting. Information: 0x4004300A at Criação da Dimensão Cliente, SSIS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Criação da Dimensão Cliente, SSIS.Pipeline: Validation phase is beginning. Warning: 0x80049304 at Criação da Dimensão Cliente, 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 Criação da Dimensão Cliente, SSIS.Pipeline: The output column "ENDERECO" (79) on output "Sort Output" (74) and component "CLASSIFICASR ESTADO VINDO CLIENTE" (43) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Criação da Dimensão Cliente, SSIS.Pipeline: The output column "VENDEDOR" (81) on output "Sort Output" (74) and component "CLASSIFICASR ESTADO VINDO CLIENTE" (43) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Criação da Dimensão Cliente, SSIS.Pipeline: The output column "NOME VENDEDOR" (83) on output "Sort Output" (74) and component "CLASSIFICASR ESTADO VINDO CLIENTE" (43) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Warning: 0x80047076 at Criação da Dimensão Cliente, SSIS.Pipeline: The output column "CIDADE_ESTADO" (87) on output "Sort Output" (74) and component "CLASSIFICASR ESTADO VINDO CLIENTE" (43) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance. Information: 0x40043006 at Criação da Dimensão Cliente, SSIS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Criação da Dimensão Cliente, SSIS.Pipeline: Pre-Execute phase is beginning. Information: 0x402090DC at Criação da Dimensão Cliente, ARQUIVO CSV ESTADO REIAO [2]: The processing of file "C:\Users\joao.e.pina\Desktop\Arquivos - Aula 2\REGIOES DOS ESTADOS.csv" has started. Warning: 0x80070020 at Criação da Dimensão Cliente, ARQUIVO CSV ESTADO REIAO [2]: The process cannot access the file because it is being used by another process. Error: 0xC020200E at Criação da Dimensão Cliente, ARQUIVO CSV ESTADO REIAO [2]: Cannot open the datafile "C:\Users\joao.e.pina\Desktop\Arquivos - Aula 2\REGIOES DOS ESTADOS.csv". Error: 0xC004701A at Criação da Dimensão Cliente, SSIS.Pipeline: ARQUIVO CSV ESTADO REIAO failed the pre-execute phase and returned error code 0xC020200E. Information: 0x40043008 at Criação da Dimensão Cliente, SSIS.Pipeline: Post Execute phase is beginning. Information: 0x402090DD at Criação da Dimensão Cliente, ARQUIVO CSV ESTADO REIAO [2]: The processing of file "C:\Users\joao.e.pina\Desktop\Arquivos - Aula 2\REGIOES DOS ESTADOS.csv" has ended. Information: 0x4004300B at Criação da Dimensão Cliente, SSIS.Pipeline: "Insert Destination" wrote 0 rows. Information: 0x40043009 at Criação da Dimensão Cliente, SSIS.Pipeline: Cleanup phase is beginning. Task failed: Criação da Dimensão Cliente Warning: 0x80019002 at CargaDimensoes: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) 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 "C:\projetos\DatawarehouseSucos\CargaDatawarehouse1\CargaDimensoes.dtsx" finished: Failure. The program '[10380] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).

1 resposta

Oii João, tudo bem?

Por gentileza, tente a solução desse tópico e me fala se deu certo, tá bom?

Outra coisa que pode ser feita, é iniciar o VS como administrador. Recomendo também, não deixar os arquivos utilizados na aula na partição C:, pois pode ocorrer de o Windows bloquear a leitura e alteração de arquivos lá dentro.

Espero ter ajudado. Qualquer coisa é só falar, tá bom? :)

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