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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:38:57+00:00 2026-05-21T06:38:57+00:00

I have an ASP.Net webforms application that uses the .Net globalization features to deliver

  • 0

I have an ASP.Net webforms application that uses the .Net globalization features to deliver .aspx pages in different locales. I have custom errors defined as

 <customErrors mode="RemoteOnly" defaultRedirect="Error.htm">

I prefer using a non-.Net page for the defaultRedirect to prevent the potential for infinite loops, in case the error page itself generates an error, so I have targeted a static .htm page. However, I would like to render that page in the locale that the user originally requested, where the locale is determined from a querystring.

What is the best way to accomplish this?

I have considered these options, but I am interested in other options:

  • Redirect to some other app/domain that can run server-side logic to redirect to or render a locale-specific response (seems like overkill)
  • Use client-side code (JavaScript) to render locale-specific content (doesn’t work for JavaScript-disabled browsers, though, and I would like it to work for these users too)
  • Make the static error page display text in multiple languages–show all language text on one page (I prefer to only show text in one locale, though)
  • 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-21T06:38:58+00:00Added an answer on May 21, 2026 at 6:38 am

    I have concluded that the best practice is to generally follow the method outlined in the answer to the following question, only transfer to a .htm page instead of an .aspx page:

    ASP.NET 2.0 : Best Practice for writing Error Page

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

Sidebar

Related Questions

I have an existing asp.net webforms project that uses Microsoft's Enterprise DAAB for the
I have an ASP.NET web application that uses jQuery on client side. On one
I have been tasked to look after an ASP.Net WebForms application that communicates with
I have an ASP.NET WebForms application that I'm adding some ASP.NET MVC to. I
I have an ASP.NET webforms application with a Menu control. How does one hide
I have a gradient background that I'm using like follows in an ASP.Net Webforms
I have a ASP.NET Web Forms application that internally makes many SOAP and REST
I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
We have an ASP.NET application that's partly in MVC (the rest of it being
Hi I have to do a small CMS application in MS ASP.NET using WebForms.

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.