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 7676463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:12:19+00:00 2026-05-31T17:12:19+00:00

I am developping a web application by using the ASP .NET MVC 3 framework.

  • 0

I am developping a web application by using the ASP .NET MVC 3 framework.
I have implemented an ASPX ViewPage containing a CrystalReportViewer control.
I have got help by looking at the project downloadable at : http://hasibulhaque.com/?p=244

Here is the action sequence to load my ASPX ViewPage :

  1. An action method of a controller is called.
  2. A redirection to the ASPX ViewPage is made.

My ASPX ViewPage is in a folder named AspNetForms.
The folder AspNetForms is under the root of my project.

I have made a test.
I have moved the AspNetForms folder under the Views folder.
Then I have updated the redirection written in the action method.
But then I have faced a 404 HTTP error when I have tried to load my ASPX ViewPage.

Does someone can explain to me what is so special about the Views folder ?

I am not sure whether the routing has something to do with my HTTP error.
For information here is my RegisterRoutes method as written in the Global.asax.cs file :

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

    routes.MapRoute(
        "Default", // Route name
        "{controller}/{action}/{id}", // URL with parameters
         // Default parameters
        new { controller = "Accueil", action = "Accueil", id = UrlParameter.Optional }
    );
}
  • 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-31T17:12:21+00:00Added an answer on May 31, 2026 at 5:12 pm

    The View folder contains a web.config file with the following lines:

     <handlers>
          <remove name="BlockViewHandler"/>
          <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
     </handlers>
    

    This special handler blocks all access to the Views folder. If you remove those lines you will be able to access your ASPX page. These lines are their for security reasons. If you remove them all your razor views can also be viewed directly.

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

Sidebar

Related Questions

I am developping a web application by using the ASP .NET MVC 3 framework.
I am developing a web application using Asp.net mvc framework with concept of sub
I'm developing a web application using ASP.NET MVC (I'm new to the framework and
I have started developing a full-web application by using the ASP .NET MVC 3
I'm developing a web application using ASP.NET MVC 3 and Entity Framework Code First
I have just started developing a full-web application by using the ASP .NET MVC
I am developing an ASP.Net MVC 3 Web application using Entity Framework 4.1 and
I am developing an ASP.Net MVC 3 Web application using Entity Framework 4.1, however,
I'm developing an web application using asp.net MVC and jQuery. I have in my
I'm developing a web application using ASP .NET MVC 1.0 and jQuery (including the

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.