Q:

parameters not passing to ssrs ServerReport - rendering report to pdf using ServerReport. Render

My code that sets up a ServerReport object on a web forms page, and then renders the report from SSRS to a pdf.  Parameter and report name is passed by URL.   
Private Sub Page_Load(sender As Object, e As EventArgs)

    Dim reportname As String
    'Dim parameter(0) As ReportParameter
    reportname = Request("reportname").ToString

    Dim v As New ReportViewer
    v.ProcessingMode = ProcessingMode. Remote
    Dim serverreport As New ServerReport
    serverreport = v.ServerReport
    serverreport. ReportServerUrl = New Uri("http://xxxxxx:80/ReportServer")
    serverreport. ReportPath = "/Reports/Aramid/Sheeter/" & reportname

    Select Case reportname

        Case Is = "NomexBlockCard" 'Or "NomexBlockLabel" Or "NomexInternalLabel"
            Dim paramList As New Generic. List(Of ReportParameter)
            paramList. Add(New ReportParameter("paramBlock", Request("paramBlock").ToString, False))
            serverreport. SetParameters(paramList)

        Case Is = "NomexRoutingData"
            Dim paramList As New Generic. List(Of ReportParameter)
            paramList. Add(New ReportParameter("paramWO", Request("paramWO").ToString, False))
            serverreport. SetParameters(paramList)

    End Select

    serverreport. ReportServerCredentials = New ReportViewerCredentials(user name here, password here, "CORE")
    Save(serverreport, "C:\WebReports\" & reportname & ".pdf")

    'now print
    Response. Redirect("reports.ashx?fileName=" & reportname)

End Sub

Public Sub Save(ByVal sr As ServerReport, ByVal savePath As String)
    Try
        Dim warnings As Warning() = Nothing
        Dim streamids As String() = Nothing
        Dim mimeType As String = Nothing
        Dim encoding As String = Nothing
        Dim extension As String = Nothing
        Dim deviceInfo As String
        Dim bytes As Byte()

        deviceInfo = "True" '<DeviceInfo><SimplePageHeaders>True</SimplePageHeaders></DeviceInfo>"
        bytes = sr. Render("PDF", Nothing, mimeType, _
        encoding, extension, streamids, warnings)
        Using Stream As New FileStream(savePath, FileMode. Create)
            Stream. Write(Bytes, 0, Bytes. Length)
            Stream. Close()
        End Using

    Catch ex As Exception

    End Try
End Sub

The report renders and saves as a pdf but the parameter value does not seem to be getting used in the report. 
I have confirmed over and over that there is a value in paramBlock. 
I don't know what I am doing wrong. 
Am I missing a step or something? 
Ryan

A:

As your report is being rendered and saved, I'm assuming the credentials are set up correctly. 
You can use the ServerReport. GetParameters function before saving the report to check what the parameters (and their values/properties) actually are. 
Also, make sure you're setting every parameter required by the report (even those hidden or internal), and that every parameter value is within the allowed values of the parameter (if limits are set). 
If the problem doesn't lie in passing the parameters, you might want to take a look at the report itself and how it handles its parameters. 

A:

From your recent comment about a "Parameter validation failed" error, it sounds like your issue is not with your calling code structure, but rather matching the parameters to the report definition. 
The most common issue is hidden or internal parameters which you are ignoring.  You need to carefully review the parameter design in SSRS Report Designer, and make sure your passed parameters comply with what it expects.