What if you have 404 or 500 errors on your website?

Source: Internet
Author: User

If asked "grassroots webmaster" who most hate, must be the site display anomalies. Small series today's website shows 400, 500 error causes and solutions.

1.ASP Web site opens showing 404 error page

Reason

404 error stating that the page visited does not exist

Workaround

Need to log on the server to see if the page really does not exist, and according to the actual situation to inform customers to complete the upload file; The site is located in the correct directory; The environment configuration does not take effect throw back hint 404, this time need to upload the environment Test probe test.

While the 404 error is also a high probability event, it is recommended to take the time to design a creative 404 page that tells the browser that the page it requested does not exist and directs the user to browse other pages instead of leaving.

2.ASP Web site opens showing 500 error page

Reason

The 500 error is usually caused by a program code error, and we need to open the 500 error default page to display the specific error.

Workaround

Open 500 Error Default page step: Right-click "Web Site" "Properties" "Custom Error", locate the 500 error definition line in, select the "Set as Default Page" button and confirm. Browse the site again to see the specific error, send this error to the customer, let the customer modify the program, and tracking this issue, the customer resolves this issue or after a period of time to restore this setting, step: In "edit", in the Pop-up dialog box, select the message type: Url,url write:/_apps/errdocs/ 500.html, OK. AC qq:2881064152 Bun

What if you have 404 or 500 errors on your website?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.