Hi,
I see this line:
Dim FileCount As Integer =
HttpContext.Current.Request.Form(
HttpContext.Current.Request.Form.Count - 2)
If
HttpContext.Current.Request.Form.Count
is less than 2, then you try to take a form variable at place -1 (or -2, -3, ...).