Could not access 'CDO.Message'

C

cbanks

I have read most of the posts about this and still cannot resolve my
issue. I have an application using system.web.mail to send notes from
one user to another. When a user logs into the application, their
e-mail address is stored in a session variable. If they want to send
information from within the app to another user, they type the note
then select a user and click send. This causes the app to lookup (via
a stored procedure) the user id and pull the e-mail address.

This works about 95% of the time with no issues. The other 5% I get
the error "Could not access 'CDO.Message'" I handle the error within a
Try error routine which does return both e-mail address when I get the
error. I also have it notify the user an error has occured, so they
can try to send again. Usally, the second or third time it goes from
what I am told.

Has anyone else run accross this or have any ideas on what is going on?

Thanks
Charles
 
B

Bruce Barker

this message is misleading. if cdo gets any error sending mail, your .net
code receives this error. you will need to track down the "real" error.
maybe your mail system is logging them.

-- bruce (sqlwork.com)
 
C

cbanks

Great! I always like misleading errors. I have checked various logs
and cannot find any other error messages related to this. Based off
the other posts, I have re-checked security which is ok. Since I have
a try statement that will send me everything used to instantiate the
process on error, how else can I track down the "real" error?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top