• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Day 21

Quiz

1: Name the three main components that report errors in ColdFusion applications.
A1: The Web server, ColdFusion Server, and the ODBC driver.
2: How are ODBC errors reported?
A2: They are passed to ColdFusion, which displays them as a Web page and identifies that the error has come from the ODBC driver.
3: What CFML tag might be used to guard against ODBC errors that come from a dynamic query?
A3: The <CFPARAM> tag will check to see whether a parameter exists, and can be used to define a default value. This can help eliminate ODBC errors that occur when dynamic SQL parameters are empty or nonexistent .
4: What special variable is used to debug an individual template page?
A4: To debug a single page without enabling debugging features in Administrator, append the variable mode=debug to the template's URL .
5: Name ColdFusion Studio's two primary debugging tools.
A5: The Document Validator and the more sophisticated Interactive Debugger.
6: Which of ColdFusion's log files is of most use in troubleshooting application errors?
A6: The file application.log is the most useful because it maintains a record of every error ColdFusion has displayed to users .


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint