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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:44:42+00:00 2026-05-13T19:44:42+00:00

A website’s default page is setup as follows: http://mysite.com/myapp/ ==> http://mysite.com/myapp/views/default.aspx As you can

  • 0

A website’s default page is setup as follows:

http://mysite.com/myapp/ ==> http://mysite.com/myapp/views/default.aspx

As you can see the only thing a little out of the ordinary is that the default page is in a subdirectory (views)

If I access the page via the default URL (http://mysite.com/myapp/) the form tag looks like this

<form name="aspnetForm" method="post" action="default.aspx" id="aspnetForm">

The problem is that the page posts back to http://mysite.com/myapp/default.aspx (missing the “/views/” part of the path) which is a non-existent page, so I get a Page Not Found (404) error.

Has anyone else experienced this? What is the workaround?

  • 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-13T19:44:43+00:00Added an answer on May 13, 2026 at 7:44 pm

    You have to change the action link to go to the right location:

    <form name="aspnetForm" method="post" action="~/views/default.aspx" id="aspnetForm">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Website: http://videojs.com/ How can I use the YouTube Skin on the frontpage? I'd really
Website test page: http://www.lantiis.com/indexold.html jsFiddle: http://jsfiddle.net/Guhb4/7/ I received help with the jQuery and it
My website is http://christianselig.com , take the About page, in the very bottom footer,
Website: http://clandestinoangusto.it/ Hi, can anybody explain why WebKit browsers are not able to highlight
The website in question is http://oxfordbeach.com/bynight/ If you resize the browser, the nav bar
My website at http://derek.genevievehoward.com/ will not display in Firefox, even though the HTML and
Website in reference: http://www.imvu-e.com/products/ht/clients/test/ Notice on the tables how I have a newline separating
Website: http://tinyurl.com/2c5cxkc This website loads fine on Safari/Chrome/Firefox. A number of people are having
Website: http://www.animefushigi.com Make your browser window skinny, note that there is no horizontal scroll
Website: http://ghostpool.com/wordpress/slide/ If you click the + button in the bottom left corner to

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.