Me aparece este error al tratar de cargar una plantilla de excel que utiliza las variables de entorno (V. 1.9.1.2, ya le agregué el parametro variables varchar(max) al sp, funciona bien si no tiene marcada esa opcion)

23/02/2016 12:06:15 p.m. - Abriendo archivo 'C:\inetpub\wwwroot\Evolution\UploadFile\ImportData\bd11a35a-5480-4c4a-9c54-3c7edda408bd'
23/02/2016 12:06:15 p.m. - 3 registros leídos
23/02/2016 12:06:15 p.m. - Finalizó la lectura del archivo texto.
23/02/2016 12:06:15 p.m. - Insertando registros a la base de datos
23/02/2016 12:06:15 p.m. - ERROR: Al insertar registros en la base de datos.
Referencia a objeto no establecida como instancia de un objeto.

StackTrace:
   en Aseinfo.Infrastructure.Services.PlantillasImportacion.PlantillaImportacionEjecutorService.<>c__DisplayClassd.<DoStepInsertarDatos>b__7(ColumnaImportacion c) en c:\VH4\Infrastructure\Services\PlantillasImportacion\PlantillaImportacionEjecutorService.cs:línea 378
   en System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   en Aseinfo.Infrastructure.Services.PlantillasImportacion.PlantillaImportacionEjecutorService.DoStepInsertarDatos() en c:\VH4\Infrastructure\Services\PlantillasImportacion\PlantillaImportacionEjecutorService.cs:línea 374

asked 23 Feb '16, 12:09

sbarahona's gravatar image

sbarahona ♦♦
(suspended)
accept rate: 32%


El problema era que habían columnas "en blanco". Eliminé todas las columnas de sobra y el archivo cargó correctamente

link

answered 23 Feb '16, 15:48

sbarahona's gravatar image

sbarahona ♦♦
(suspended)
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×8
×5

Asked: 23 Feb '16, 12:09

Seen: 1,252 times

Last updated: 23 Feb '16, 15:48

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática