Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6469941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:03:06+00:00 2026-05-25T06:03:06+00:00

The Report Viewer control apparently only works in a Web Forms page (I’m using

  • 0

The Report Viewer control apparently only works in a Web Forms page (I’m using MVC 2). So, I make one, add my report to it, and try making a link to it from one of the Views in my MVC 2 site. I consistently get the error “The resource cannot be found”. I’ve tried every possible URL I can think of it get it to work. I even dragged and dropped a Hyperlink tool into the page and set it to link to the Web Form in question and got the same results.

The Web Form is in the /Views/MaintenanceReports folder. I’ve tried URLs such as ~/Views/MaintenanceReports/DriverList.aspx (with and without the *.aspx) and a few others. But, I’m very sure this should be the URL.

I also added this page route to the Global.asax file in hopes that it would do something magical routes.MapPageRoute("DriverListing", "MaintenanceReports/DriverListing", "~/Views/MaintenanceReports/DriverListing.aspx");

I also tried adding, per the suggestion of one of my fellow programmers, an iframe to an MVC View that had the Web Form in question as its source. This also gave me the same error.

I’ve got the book Pro ASP.NET MVC 2 on hand and it doesn’t give me anything that helps. It basically says that there shouldn’t be an issue.

The server runs IIS 7 and has the .NET 4 framework installed.

Normally I’d spend more time looking for an answer, but I’m quite pressed for time currently. This is my last day here (internship) and I’d like to get this last thing done before I leave.

Thank you for all your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:03:06+00:00Added an answer on May 25, 2026 at 6:03 am

    Try using the StopRoutingHandler. I think the issue is you need to tell MVC to ignore those urls.

    routes.Add(new Route("MaintenanceReports/{*resource}", 
                         new StopRoutingHandler()));
    

    Update

    It looks like the above doesn’t work for routing within the Views folder. The simple solution is to move the WebForms out of the Views folder, and the WebForms work out of the box alongside MVC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using asp.net and report viewer control in a web page. I want to
I am using SQL 2005 reporting services (SSRS) with the web report viewer control.
I'm using Report Viewer Control (rdlc) to generate reports. One of my columns have
I am embedding a report into my ASP.NET app using the report viewer control.
I am using the ReportViewer control on an ASP.NET web page and when deployed
I have an ASP.NET page which has report viewer control to access reports from
We're using SQL Server Reporting Services embedded using the Report Viewer control on a
I'm using the ReportViewer control to display a Report within a WebForm, i've also
The date picker on the report viewer control in SSRS 2005 is causing our
I am hosting a SSRS report through the SSRS Report Viewer Control inside a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.