问题描述
我试图将SSRS报告集成到我的asp.net MVC 5应用程序中,但是遇到了一些问题。
场景: 我在一个解决方案中有两个asp.net MVC 5应用程序,让项目分别为1.“ Web-localhost:12345 ”和2。“ ssrsreport-localhost:12345 / reports / 。我正在尝试在iframe下的“ 网络”项目中加载“ ssrsreport ”项目。
问题: 通过“ Web”项目执行“ ssrsreport”项目时,出现以下错误。
技术:Asp.Net Mvc 5,c#,SSRS,sql Server。
谢谢!
解决方法
似乎是引发404错误的路由问题。 请参考link提供并重新访问 RouteConfig.cs 文件。
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); //add this line