Trouble deploying reports from Visual Studio designer

2 posts, 0 answers
  1. Jennifer
    Jennifer avatar
    18 posts
    Member since:
    Aug 2011

    Posted 18 Jan 2019 Link to this post

    I have previously created a report in the standalone designer and successfully deployed it to my server with an api.  I was able to view it in my Angular application.  This worked fine using the .trdp file.  However, I recently tried creating a report in the Visual Studio designer and am having difficulty getting it deployed to my server.  I see there is no .trdp file.  Are there any files that are supposed to be generated and reside in the reports folder if I am doing it this way?  Is everything just compiled?  

    I am getting the error "Unable to get report parameters. Report 'MyReport' cannot be resolved."  My report does not have any parameters and my controller code contains a call to .AddFallbackResolver.  

    Please let me know what steps can be taken to a resolution.




  2. Silviya
    Silviya avatar
    419 posts

    Posted 23 Jan 2019 Link to this post

    Hi Jennifer,

    I noticed that you have opened a support ticket on the same topic. Let me share my answer here as well:

    "If I understood correctly, there is a class representing report definition (i.e. MyReport), and the requirement is to display this report in the viewer.

    The reports created with Visual Studio Report Designer are usually stored as .NET classes inheriting Telerik.Reporting.Report|ReportBook. To access a .NET class declaratively you can use the assembly qualified name of the report's type. The Reporting engine will use Reflection to create an instance of the report class by using its default parameterless constructor.

    An example is illustrated in the API Reference: TypeReportSource. For more information about all available report sources and how to set them, please refer to Available Report Sources section and How to: Set ReportSource for Report Viewers article. 

    I hope this helps. Let us know if any other question comes up."

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top