How to quickly find an ASP error

Source: Internet
Author: User
Tags blank page access database
The error was read today on the network about how to use the Debugging ASP program under Windows 2003 common Errors and Solutions (a), look good! I also write programs, all kinds of programs have written, C + +, VB recently used in the development of Delphi, I am also a small programmer! For the development of ASP, I am not like the beginning of the beginning of ASP, the written code is not like before! I am also considering a lot of security of the website development, also read a lot of books, the article on the network, feel a little palliative not cure

Look at just so much, feel me this person is really a lot of nonsense Oh! Do not throw eggs for me Oh! Flowers sent over Oh! All right, let's turn to the subject!

For ASP, an error I can find the source in three minutes, the method is very simple, the first step, to write the code first! Oh! Feel this person how nonsense so much ah, do not write code what still do! No, never throw eggs! After writing the code, hehe! Of course, except the bug! After reading, if there are any who do not understand, please add me qq:49791697

The first step: write the code, but we do not know is the right or wrong! If we open it for the first time, it must be a 500 mistake! Do not lose heart, we use Notepad and other tools to open the original code, the inside of all the code cut down, to ensure that the next refresh page, it will be a blank page, hehe! It's okay! No code, of course, is blank!

Next is the second step, to restore all the code, this time do not turn off the browser! Put the original code back, save, and then refresh in the foreground, and then you can see the error in that line of ~! Ha ha! There's a feeling of being cheated.

When it comes to ASP program, I will talk about the process of asp+access development, how to prevent access to the database is downloaded, here is my own method! I used a method of renaming, a special name, not a xxxxxxxxxxxxx.mdb, but a directory in the current directory that holds the directory of Access databases, The Access database is renamed: Global.asa, then will not be downloaded, do not believe to try! If changed to other ASA file, the same will be downloaded!



Related Article

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.