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 viernes, 31 de julio de 2020 at 12:59:52 a.m.

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:Keep-Alive HTTP_CONTENT_LENGTH:2494 HTTP_CONTENT_TYPE:application/x-www-form-urlencoded HTTP_ACCEPT:text/html, application/xhtml+xml, image/jxr, */* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:es-PE HTTP_COOKIE:ASP.NET_SessionId=ixaldx45noxny1mgt0jh54ax HTTP_HOST:infosil.sil.edu.pe HTTP_REFERER:https://infosil.sil.edu.pe/CpelPreInscripcion/Formulario.aspx?modalidad=full_flex HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
ALL_RAWCache-Control: no-cache Connection: Keep-Alive Content-Length: 2494 Content-Type: application/x-www-form-urlencoded Accept: text/html, application/xhtml+xml, image/jxr, */* Accept-Encoding: gzip, deflate Accept-Language: es-PE Cookie: ASP.NET_SessionId=ixaldx45noxny1mgt0jh54ax Host: infosil.sil.edu.pe Referer: https://infosil.sil.edu.pe/CpelPreInscripcion/Formulario.aspx?modalidad=full_flex User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
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_LENGTH2494
CONTENT_TYPEapplication/x-www-form-urlencoded
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html, application/xhtml+xml, image/jxr, */*
HTTP_ACCEPT_ENCODINGgzip, deflate
HTTP_ACCEPT_LANGUAGEes-PE
HTTP_CACHE_CONTROLno-cache
HTTP_CONNECTIONKeep-Alive
HTTP_CONTENT_LENGTH2494
HTTP_CONTENT_TYPEapplication/x-www-form-urlencoded
HTTP_COOKIEASP.NET_SessionId=ixaldx45noxny1mgt0jh54ax
HTTP_HOSTinfosil.sil.edu.pe
HTTP_REFERERhttps://infosil.sil.edu.pe/CpelPreInscripcion/Formulario.aspx?modalidad=full_flex
HTTP_USER_AGENTMozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
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.12
REMOTE_HOST181.65.0.12
REMOTE_PORT16207
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