Dim OutFile As New System.IO.FileInfo(ZipFileNameAndPath) Response.Clear() Response.ClearContent() Response.ClearHeaders() Response.AddHeader("content-disposition", "attachment;filename=" + ZipFileNameAndPath) Response.AddHeader("Content-Length", OutFile.Length) Response.ContentType = "application/pdf" Response.TransmitFile(ZipFileNameAndPath, 0, OutFile.Length) Response.Flush() Response.Close() Response.End()But I am getting the folowing error:
The message received from the server could not be parsed.Any Ideas?