Computer Learning Zone CLZ Access Excel Word Windows

The most elementary and valuable statement in science, the beginning of wisdom, is "I do not know."

-Lieutenant Commander Data
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Active Server Pages Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
No errors shown web config
MUBEEZI M 

13 years ago
Dear Richard,

Ever since i upgraded from Access to SQL server as the web db, i do not see errors any more. When i used Access, an error would always pop up if my ASP code had problems. How can i see these errors once again? Is there another setting that i may need to turn on?
Thank you
MICAH


Reply from Richard Rost:

You're not seeing the detailed ASP error messages, just a friendly "we've encountered a problem" email? You need to create a web.config file in the root of your web and set the httpErrors errorMode setting to "Detailed." Like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<system.webServer>
<httpErrors errorMode="Detailed" />
<asp
scriptErrorSentToBrowser="true"/>
</system.webServer>
<system.web>

<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>

</configuration>



Don't leave that file in the root of your web when your site goes public, however. Seeing error messages that may pop up and fragments of your code may give hackers and opportunity to exploit your site. Just put it in place when you need it, and then delete (or rename) it when you're done.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Active Server Pages Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/15/2026 9:08:49 AM. PLT: 0s