Rendering the SSRS Report in the asp.net MVC Application

Sreenivas Pagadala 5 Reputation points
2025-04-15T03:01:16.6633333+00:00

I want the Source code to render the Hosted SSRS report in the asp.net MVC Application.

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
55 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 7,545 Reputation points Microsoft External Staff
    2025-04-15T04:24:48.6466667+00:00

    Hi Sreenivas Pagadala,

    Thank you for reaching out to Microsoft Q & A forum. 

    To render a hosted SSRS report in an ASP.NET MVC application, a common approach is to use an <iframe> to display the report via URL access. For example: 

    <iframe width="100%" height="600px" 
            src="http://<ReportServer>/ReportServer?/Folder/ReportName&rs:Command=Render">
    </iframe>
    
    

     Simply replace the placeholders with your actual report server and report path. If your report requires parameters, you can pass them through the URL as query strings. 

    Alternatively, if you prefer using the ReportViewer control, you can embed it within a Web Forms page and load that page inside your MVC view.      

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.

    0 comments No comments

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.