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, 07 de agosto de 2020 at 03:43:21 p.m.

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CACHE_CONTROL:max-age=0 HTTP_CONNECTION:keep-alive HTTP_CONTENT_LENGTH:2635 HTTP_CONTENT_TYPE:application/x-www-form-urlencoded HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 HTTP_ACCEPT_ENCODING:gzip, deflate, br HTTP_ACCEPT_LANGUAGE:es,en-US;q=0.9,en;q=0.8 HTTP_COOKIE:ASP.NET_SessionId=3do4k155v21civ3cqkocyyvz 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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 HTTP_UPGRADE_INSECURE_REQUESTS:1 HTTP_ORIGIN:https://infosil.sil.edu.pe HTTP_SEC_FETCH_SITE:same-origin HTTP_SEC_FETCH_MODE:navigate HTTP_SEC_FETCH_DEST:document
ALL_RAWCache-Control: max-age=0 Connection: keep-alive Content-Length: 2635 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding: gzip, deflate, br Accept-Language: es,en-US;q=0.9,en;q=0.8 Cookie: ASP.NET_SessionId=3do4k155v21civ3cqkocyyvz 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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Upgrade-Insecure-Requests: 1 Origin: https://infosil.sil.edu.pe Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-Dest: document
APPL_MD_PATH/LM/W3SVC/2/ROOT/CpelPreInscripcion
APPL_PHYSICAL_PATHD:\inetpub\www_cpelpreinscripcion\
AUTH_PASSWORD
AUTH_TYPE
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE256
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_LENGTH2635
CONTENT_TYPEapplication/x-www-form-urlencoded
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
HTTP_ACCEPT_ENCODINGgzip, deflate, br
HTTP_ACCEPT_LANGUAGEes,en-US;q=0.9,en;q=0.8
HTTP_CACHE_CONTROLmax-age=0
HTTP_CONNECTIONkeep-alive
HTTP_CONTENT_LENGTH2635
HTTP_CONTENT_TYPEapplication/x-www-form-urlencoded
HTTP_COOKIEASP.NET_SessionId=3do4k155v21civ3cqkocyyvz
HTTP_HOSTinfosil.sil.edu.pe
HTTP_ORIGINhttps://infosil.sil.edu.pe
HTTP_REFERERhttps://infosil.sil.edu.pe/CpelPreInscripcion/Formulario.aspx?modalidad=full_flex
HTTP_SEC_FETCH_DESTdocument
HTTP_SEC_FETCH_MODEnavigate
HTTP_SEC_FETCH_SITEsame-origin
HTTP_UPGRADE_INSECURE_REQUESTS1
HTTP_USER_AGENTMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
HTTPSon
HTTPS_KEYSIZE256
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_ID2
INSTANCE_META_PATH/LM/W3SVC/2
LOCAL_ADDR172.16.128.8
LOGON_USER
PATH_INFO/CpelPreInscripcion/formulario.aspx/guardar
PATH_TRANSLATEDD:\inetpub\www_cpelpreinscripcion\formulario.aspx\guardar
QUERY_STRING
REMOTE_ADDR179.6.208.27
REMOTE_HOST179.6.208.27
REMOTE_PORT43545
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/8.5
URL/CpelPreInscripcion/formulario.aspx/guardar