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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:11:50+00:00 2026-06-16T16:11:50+00:00

I have project at asp.net mvc. And there is problem i dont know how

  • 0

I have project at asp.net mvc. And there is problem i dont know how to solve:
I add at web.config error handling, and that is ok, but it’s return

HTTP/1.1 302 Found
Content-Length: 157
Location: /Error404.html?aspxerrorpath=/fghdhdfghg

which is wrong, i need HTTP/1.1 404 Not Found. I have tested at

that site

Do you know how to set error code for my error404.html page? I have tryed both Hardcoded html page & MVC Action.

  • 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-06-16T16:11:51+00:00Added an answer on June 16, 2026 at 4:11 pm

    You can set Response.StatusCode = 404 or you can return a HttpNotFoundResult from the controller.

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

Sidebar

Related Questions

I have a web project in Asp.net MVC where in many pages, there is
I have asp.net mvc 4 web application project on my server in IIS Directory.
We have an ASP.Net MVC project that will start with a single web server
I have an ASP.NET MVC 2 application. Web project contains a reference to SomeProject
I have a problem that I suppose comes from my ASP.NET MVC project using
I’m using ASP.NET MVC 3 for a project I have. The problem is that
i'm trying to use the Web.config transformations in my ASP.NET MVC 2 project running
I have an ASP .NET MVC 3 project and a problem with one of
I have an ASP.NET MVC 3 Solution(C#) Containing multiple projects. There is a services
I have a question I have a project asp.net mvc which is developed in

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.