prova così:
Dim path_name1 As String = "foto/ODD_151_FOTO1.jpg"
If (File.Exists(server.mappath(".") & path_name1)) Then
Response.Write("ENTRATO")
Else
Response.Write("NON ENTRATO")
End If