Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: 'HF_Agencia' is not declared. It may be inaccessible due to its protection level.

Source Error:


Line 301:                                fecN = Format(Now, "yyyy") & Format(Now, "MM") & Format(Now, "dd")
Line 302:
Line 303:                                da = New MySqlDataAdapter("select distinct zona from Opciones where CodFolleto=" & Folletogrupo & "  and agencia='" & HF_Agencia.Value & "' and " & fecN & "  between desdenumero and hastanumero and status = 'ACTIVADO' and zona<>'' and zona is not null  " & whereExc & " Order By  ordenGrupo", cp.ConnectionString)
Line 304:                                da.Fill(ds, "Opciones")
Line 305:                                ReDim Zonas_arr(ds.Tables("Opciones").Rows.Count - 1)

Source File: G:\PleskVhosts\webatom.com\atom.travel\contenidoweb\Paginas\atom\Indice.aspx.vb    Line: 303






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0