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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:57:53+00:00 2026-05-25T14:57:53+00:00

In application start of the global.asax i have Sub Application_Start(ByVal sender As Object, ByVal

  • 0

In application start of the global.asax i have

 Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
        RegisterRoutes(RouteTable.Routes)
 End Sub

and

Private Sub RegisterRoutes(ByVal routes As RouteCollection)
  routes.MapPageRoute("contactform", "{locale}/contact", "~/general/ContactUs.aspx")
End Sub

the strange that is goimg on, is that when i visit the webpage directly

~/general/contactus.aspx

everything works like a charm, but when i visit the page indirectly

~/en/contact

a 404 error is returned! Am i missing something here?

  • 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-25T14:57:53+00:00Added an answer on May 25, 2026 at 2:57 pm

    This can be related to multiple things. What I would first look at is that :

    Make sure that your application is running under IIS 7.0 or +.

    Make sure that your application is running under an integrated mode app pool inside IIS 7 or IIS 7.5.

    Make sure that you have the following code inside your web.config file :

    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true" />
    </system.webServer> 
    

    Not sure though but the above code shouldn’t be necessary on IIS 7.5.
    This should be already configured for IIS 7.5 out of the box.

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

Sidebar

Related Questions

I have an ASP.Net application that performs some database initialization during Application_Start in Global.asax.
In Application_Start event in global.asax.cs, I have added some initialization code. This code is
It's most common practice to register routes in Application_Start event within global.asax.cs/vb file. But
I can't debug global.asax file! I have some codes in Application_Start() method but when
In my Global.asax **Application_Start()** I have a configuration of AutoMapper , this configuration is
I have a global.asax and I would like to check in the Application_Start method
I have a class Application that my global.asax inherits from. The class has this
How to call or make the javascript function from the Application_Start of global.asax in
Is there a way to handle the application_start event without using the global.asax? The
On application start I'm creating Config object (Singleton). How could I make Config object

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.