Hi @peter liles ,
The first is the problem of the ID not matching the PK_ID parameters, and also to confirm whether <% = Request.QueryString.Get( " PK_ID " ) % > has a value
I suggest you to break the point to check the problem, you can refer to my example below:
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
context.Response.ContentType = "text/plain"
Dim file As String = context.Request.Params("ID")
context.Response.Write(file)
End Sub
Public PK_ID As String = "1"
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.