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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:48:35+00:00 2026-06-03T05:48:35+00:00

We have set a custom 404 error page in order to display a ‘nice’

  • 0

We have set a custom 404 error page in order to display a ‘nice’ page instead of the default IIS page.

When trying to access a non existing page with a known file extension (e.g. http://mydomain/dumb.aspx), the custom 404 page gets displayed.

When trying to access a file with an unknown file extension (e.g. http://mydomain/index.dumb), the default 404 error page gets displayed.

What puzzles me is that the IIS Web core is handling the error:

ModuleName: IIS Web Core
Notification: 16
HttpStatus: 404
HttpReason: Not Found
HttpSubStatus: 0
ErrorCode: 2147942402
ConfigExceptionInfo :
Notification: MAP_REQUEST_HANDLER
ErrorCode: The system cannot find the file specified. (0x80070002)

But the configured custom error page is note taken into account:

 <httpErrors errorMode="Detailed">
    <remove statusCode="404" subStatusCode="-1" />
    <error statusCode="404" prefixLanguageFilePath="" path="/httpError" responseMode="ExecuteURL" />
</httpErrors>

We do have handler mappings for * but not for . . Could it be the cause of the issue?
What would be the correct configuration?

  • 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-03T05:48:36+00:00Added an answer on June 3, 2026 at 5:48 am

    Just had to change the errorMode attribute of the httpErrors node from Detailed to Custom.

    From:

    <httpErrors errorMode="Detailed">
    

    to:

    <httpErrors errorMode="Custom">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom error page that should display for HTTP 404 errors. It
I have set my default-input-method variable to english-dvorak: (custom-set-variables '(default-input-method english-dvorak)) When I launch
I have a php web page that now uses custom error pages when a
I have set up custom error on my server and i'm redirecting to a
I'm trying to set a custom HTTP 1.0 status code in order to return
I have a call to a 404 page in a controller: $this->set('title','Page Not Found');
I have a custom UITableViewCell subclass. I have set the contentView of my cell
I have a function that I set custom key and value to it and
In my installer I have set WixUIBannerBmp to point to my own custom dialog-banner.bmp
I have made my custom module in magento, in which I have set discount

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.