SSRS Url Access in Asp.Net MVC

bodil 21 Reputation points
2021-01-29T14:53:03.167+00:00

Hello

I am trying to view a report in my report server via url access and I am trying to follow the guide linked below
https://learn.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-url-access-web-application?view=sql-server-ver15

<a href="http://myserver:80/ReportServer?/myfolder/myreport&rc:Parameters=false&rs:Command=Render&ParamYear=2020&rc:LinkTarget=main&rs:embed=true" target="main">  
        Click here  
</a>  
<iframe name="main" height="600" width="600"></iframe>  

I have created a new Asp.net MVC project and on firefox and chrome nothing happens when I try to press the link. The ReportServer executionlog also shows nothing was registered. But if I open the link in a new tab I get prompted for username and password and then the report shows up. If I make a stand alone html page with the aforementioned html, it works fine as well. I will get prompted about username and password and the report will be rendered in the iframe.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
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,807 questions
{count} votes