ERROR #3704: Operation is not allowed when the object is closed. Course List - ASP 202
 

4/24/2017: You may see an "operation not allowed" error on the site. We're working on fixing the problem. Nothing seems to be affected, it's just annoying. Carry on. :)   [dismiss]
 

If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
NEW Release: Access Advanced Level 4 and Level 5   dismiss
 
 
Courses - Active Server Pages 202
Description: Intermediate ASP 202
Running Time: 72 minutes
Pre-Requisites: ASP 201
Versions:
We use Standard ASP on a Windows Server. We also use Microsoft FrontPage 2003 for our Web editor. You can use any server or Web editor compatible with ASP.
 

 Click here for the Teacher's Outline
 

Major topics covered in this class:

  • Writing Text Files
  • Username / Password Logon Form
  • Global.ASA File
  • Error Handling
  • Sending Email from Your Server

In the last class, we learned how to work with files and folders, and how to read text files on the server. We begin this class by learning how to write text files back out to the server. You'll learn about file permissions on your server, and how to let your users write information to files.

Using our knowledge of reading and writing text files, we'll actually build a username / password list, and a logon form so that our users can log on. You'll learn how to loop through the password list to find the right user. This is a great lesson.

Next, we'll learn about the Global.ASA file which allows us to specify startup values for our Session and Application objects. You'll see how you can use this to track how many users are concurrently active on your site.

You will next learn about Error Handling. What do you do when your script generates an error? You don't want your site visitors seeing them, so we'll learn how to handle them gracefully.

Finally we'll cover one of the most requested topics: how to send Email from your server. You'll learn all about sending both text and HTML emails, sending a whole web page as an email, using an external SMTP server, sending attachments, and much more.

Lots of great material in this class. If you want to be able to send email from your server, track information on your visitors, allow users to log on and off of your site, then don't miss this class.

 
 


Try a FREE Demo Lesson

 

 Click here for the Teacher's Outline
 
 
 

Student Interaction: Active Server Pages 202

Richard on 8/20/2008:  ASP 202 covers: Writing Text Files, Username / Password Logon Form, Global.ASA File, Error Handling, Sending Email from Your Server See the complete outline here: /site/courselist/asp/asp202/
 Hamish Isaacs on 11/9/2010: Hi Rick,

I'm loving your course on ASP202. Q though? Are you able to send bulk emial through web browser, similar to your Access 329 course which covered bulk email.

Reply from Richard Rost:

In my class, I show you how to send email via Microsoft Outlook. It is possible to send email through your web browser IF you have access to do so from your email provider. I have one set up for myself. I show you how to send email in my ASP classes, so yes, you could use Access to post data to a form on your web site that then sends an email.

Hamish Isaacs on 11/9/2010: Yes! I have watched your tutorial re: Bulk Email Access 329.
But would it be possible to send the bulk email through your web browser.

Reply from Richard Rost:

Yes, as I said previously... you'd have to set up a page on your web site to be able to send it through your own web server. Sending it through a web service like Gmail or Yahoo would be VERY difficult.

Mubeezi Micah on 12/26/2012: Dear Richard,

time index: 1:17 and 1:42
I am using IE9 and Google chrome. However, when i have an error in my ASP code, i never get such helpful error messages. What i get is "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed."

I checked in Advanced Internet options and turned off "Friendly Error mssages" but there is still no difference. Is there an additional setting that i have not yet set?

Please let me know.

MICAH

Reply from Richard Rost:

Micah, as a security measure, GoDaddy (and most ISPs) have "friendly" error messages turned on as a SERVER default. This is so hackers don't get to see any snippets of your code. You can turn them OFF and see the traditional ASP error messages by creating a file in the ROOT folder of your web called Web.config. Here's what it should look like:


MUBEEZI M on 12/26/2012: Dear Richard,

Thanx a lot. it has worked perfectly. I however removed line 1 in the above code. When it is part of the code, all the web pages show the generic godaddy error.
Once again, thank you.
MICAH

MUBEEZI M on 12/28/2012: Dear Richard,

Thank you for your feedback. I lost several hours today because i couldn't catch the error messages. I will create this file and when i am through with the web design, i will get rid of it.

I am right to imagine that to create a web.config file, i will create a text file using notepad, write the above text and save as a .config file?

MICAH

Reply from Richard Rost:

You got it.

 

You may want to read these articles from the 599CD News:

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP