Contents

Introduction
Welcome
System requirements
Licensing details
What is the registration
Using ASPRunner.NET
Working with projects
Connecting to the database
Datasource tables
Master-detail
Choose pages
Login page
User login settings
Avanced Security Settings
User group permissions
Fields order and totals
Miscellaneous settings
Choose theme
Visual Editor
About
Toolbars
Page Elements
"View as" settings
"Edit as" settings
Validation types
Lookup wizard
Events
Output directory settings
After you done
FTP upload
FrontPage Publishing
Advanced topics
Master-details relationship
AJAX-based Functionality
Connecting to database
Connecting to MS Access database
Connecting to MS SQL Server database
Connecting to MySQL database
Connecting to Oracle database
Publishing ASP.NET application to the remote Web server
Using FTP client to publish ASP.NET pages to the remote Web server
Using FrontPage to publish ASP.NET pages to the remote Web server
Demo Account
What is the Demo Account
Terms and conditions
Events
More about events
Predefined actions
Send simple email
Send email with new data
Save new data in another table
Insert a record into another table
Check if specific record exist
Display a message on the WEB page
Redirect to another page
Custom code
Sample code
Show list of customer orders
Before deleting a record check if related record exist
Check if start date is earlier then end date
Speed up data entry using events
Order ASPRunner.NET online

 
Home
ASPRunner.NET 5.0 manual
Prev Page Next Page
 
 

Error: Could not access CDO.Message object

 

Question:

I'm getting Could not access 'CDO.Message' object error when email to user or admin is sent.

Answer:

This error message is quite generic. Here are some suggestions on fixing this:

Suggestion 1

Specify a valid SMTP server in ASPRunner. If that property is not set, at least set it to 127.0.0.1 or to localhost.

Suggestion 2

If you are using "localhost" or "127.0.0.1" as SMTP server, you may not have permissions to relay through the IIS SMTP Service. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Relay button. In the Relay Restrictions dialog, grant your IP address (127.0.0.1) to the Computers listbox. Close down all dialogs, and restart the SMTP Service.

Suggestion 3

If you are using "localhost" or "127.0.0.1" as the SMTP server, make sure Anonymous access is allowed. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Authentication button. Be sure "Anonymous Access" is the only checkbox checked. Close down all dialogs, and restart the SMTP Service.

Suggestion 4

The email address does not have a valid TO address. No spaces in email address.

Suggestion 5

Use a real FROM address that exists on the SmtpMail.SmtpServer. Do not use something like "asdf@asdf.com", or some other bogus address as your FROM. Some mail servers will catch this, and will deny relaying.

 

 

Converted from CHM to HTML with chm2web Standard 2.83 (unicode)