Search code examples
c#asp.net-mvcreporting-servicesasp.net-mvc-5ssrs-2012

Not able to display ssrs report under subdomain (virtual domain)


I am trying to integrate SSRS report into my asp.net MVC 5 application but ran into some issues.

Scenario: I have two asp.net MVC 5 applications in one solution, let the projects be 1. "Web - localhost:12345" and 2."ssrsreport - localhost:12345/reports/". I am trying to load "ssrsreport" project with in "web" project under an iframe.

Issue: While executing "ssrsreport" project through "Web" project I am getting following errors. enter image description here

Technologies: Asp.Net Mvc 5, c#, SSRS, SQL Server.

Thanks in advance !!


Solution

  • Seem to be routing issue that is throwing the 404 error. please refer the link provide and revisit the RouteConfig.cs file.

     public static void RegisterRoutes(RouteCollection routes)
     {
         routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); //add this line