SSRS GetParameters() returns empty string/ null.

Ram PS 0 Reputation points
2024-12-10T13:10:22.3+00:00

SSRS report when requested for parameter columns using GetParameters() method returns empty string. This is inconsistently causing application errors. Looking for some help.

We are invoking the below method within our PowerBuilder code by connecting to the library file.

Below is the code we try to invoke the method GetParameters. This gives the blank xml string...

User's image

Below is the definition from vb of the method GetParameters()

User's image

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,960 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,760 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 32,961 Reputation points Microsoft Vendor
    2024-12-11T09:30:20.4433333+00:00

    Hi @Ram PS ,

    Ensure that all parameters are correctly defined in your SSRS report.

    Check the PowerBuilder code that invokes the GetParameters() method. Ensure that the method is being called correctly and that any necessary parameters are being passed.

    Best Regards.

    Jiachen Li


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.