Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at USIL.CPEL.Modelo.Correos.Enviar(String de, List`1 destinatarios, List`1 copias, List`1 ocultas, String subject, String body) in E:\TMP\25JUN2020\Codigo Fuente\USIL.CPEL.Modelo\Correos.cs:line 12
   at SistemaRegistroPersonas.Controllers.FormularioController.Guardar(Persona p_al_, Persona p_p_, Persona p_m_, Persona p_ap_) in E:\TMP\25JUN2020\Codigo Fuente\SistemaRegistroPersonas\SistemaRegistroPersonas\Controllers\FormularioController.cs:line 177
   at lambda_method(ExecutionScope , ControllerBase , Object[] )
   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassa.<>c__DisplayClassc.<InvokeActionMethodWithFilters>b__9()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
   at System.Web.Mvc.Controller.ExecuteCore()
   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
   at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
   at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext)
   at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
		

Logged on jueves, 23 de julio de 2020 at 06:54:59 p.m.

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:Keep-Alive HTTP_CONTENT_LENGTH:3250 HTTP_CONTENT_TYPE:application/x-www-form-urlencoded HTTP_ACCEPT:text/html, application/xhtml+xml, image/jxr, */* HTTP_ACCEPT_ENCODING:gzip, deflate, br HTTP_ACCEPT_LANGUAGE:es-PE HTTP_COOKIE:ASPSESSIONIDQSSTTBBQ=EKINIEABBBALBLABKPPKJGDP; ASP.NET_SessionId=yika5m55bxo4cz454byhnn55 HTTP_HOST:infosil.sil.edu.pe HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
ALL_RAWCache-Control: no-cache Connection: Keep-Alive Content-Length: 3250 Content-Type: application/x-www-form-urlencoded Accept: text/html, application/xhtml+xml, image/jxr, */* Accept-Encoding: gzip, deflate, br Accept-Language: es-PE Cookie: ASPSESSIONIDQSSTTBBQ=EKINIEABBBALBLABKPPKJGDP; ASP.NET_SessionId=yika5m55bxo4cz454byhnn55 Host: infosil.sil.edu.pe User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
APPL_MD_PATH/LM/W3SVC/1160575970/Root/CpelPreInscripcion
APPL_PHYSICAL_PATHD:\inetpub\www_cpelpreinscripcion\
AUTH_PASSWORD
AUTH_TYPE
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE168
CERT_SECRETKEYSIZE2048
CERT_SERIALNUMBER
CERT_SERVER_ISSUERC=US, O=DigiCert Inc, OU=www.digicert.com, CN=Thawte RSA CA 2018
CERT_SERVER_SUBJECTC=PE, L=Lima, O=Universidad San Ignacio de Loyola SA, OU=Gerencia de Sistemas, CN=infosil.sil.edu.pe
CERT_SUBJECT
CONTENT_LENGTH3250
CONTENT_TYPEapplication/x-www-form-urlencoded
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html, application/xhtml+xml, image/jxr, */*
HTTP_ACCEPT_ENCODINGgzip, deflate, br
HTTP_ACCEPT_LANGUAGEes-PE
HTTP_CACHE_CONTROLno-cache
HTTP_CONNECTIONKeep-Alive
HTTP_CONTENT_LENGTH3250
HTTP_CONTENT_TYPEapplication/x-www-form-urlencoded
HTTP_COOKIEASPSESSIONIDQSSTTBBQ=EKINIEABBBALBLABKPPKJGDP; ASP.NET_SessionId=yika5m55bxo4cz454byhnn55
HTTP_HOSTinfosil.sil.edu.pe
HTTP_USER_AGENTMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
HTTPSon
HTTPS_KEYSIZE168
HTTPS_SECRETKEYSIZE2048
HTTPS_SERVER_ISSUERC=US, O=DigiCert Inc, OU=www.digicert.com, CN=Thawte RSA CA 2018
HTTPS_SERVER_SUBJECTC=PE, L=Lima, O=Universidad San Ignacio de Loyola SA, OU=Gerencia de Sistemas, CN=infosil.sil.edu.pe
INSTANCE_ID1160575970
INSTANCE_META_PATH/LM/W3SVC/1160575970
LOCAL_ADDR172.16.128.10
LOGON_USER
PATH_INFO/CpelPreInscripcion/formulario.aspx/guardar
PATH_TRANSLATEDD:\inetpub\www_cpelpreinscripcion\formulario.aspx\guardar
QUERY_STRING
REMOTE_ADDR181.65.0.16
REMOTE_HOST181.65.0.16
REMOTE_PORT48304
REMOTE_USER
REQUEST_METHODPOST
SCRIPT_NAME/CpelPreInscripcion/formulario.aspx/guardar
SERVER_NAMEinfosil.sil.edu.pe
SERVER_PORT443
SERVER_PORT_SECURE1
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/6.0
URL/CpelPreInscripcion/formulario.aspx/guardar