473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Could not access 'CDO.Message'

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

Jan 11 '06 #1
2 1050
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)

<cb****@bjtsupport.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Jan 11 '06 #2
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?

Jan 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Thys Brits | last post by:
Hi, I'm using the System.Web.Mail class to send an e-mail from my ASP.Net application, but when sending the e-mail, I'm getting the above error. It seems to be because I have Office XP...
2
by: Janna Deegan | last post by:
Hello all, First off, if there is a better place to post for an answer to this question, please feel free to point me there. I have some very strange behavior happening with my System.web.mail...
2
by: Desmond | last post by:
Hi, I would really appreciate if somebody could give some advise on this. I've a ASP.NET application that is supposed to send emails and it is tested to be working well on IIS 5.0 and tested...
1
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
1
by: Michael | last post by:
Hello, I've read a lot of threads on this subject, but they typically go back to a problem with the smtp server configuration. In my case, everything works great until I uncomment the one line...
4
by: Liz Patton | last post by:
Here's the exception: System.Exception: Unable to send mail: Could not access 'CDO.Message' object. ---> System.Web.HttpException: Could not access 'CDO.Message' object. --->...
2
by: MattB | last post by:
I've taken some working code from a vb clas library that was a part of a web application and put it into a stand alone class library so I can reuse it from other applications. I'm using some code...
3
by: Anthony Fine | last post by:
Hello All, I have a VB.Net app that needs to send mail. I have created a class for building my e-mail, but keep getting the error (Could not access 'CDO.Message' object.) when trying to send...
1
by: PerumalSamy | last post by:
Hi, I wrote coding to send email with the following format. eMail = new MailMessage(); eMail.BodyFormat = MailFormat.Text; eMail.From = _SendFrom;...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.