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.
Developer technologies | VB
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,231 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.