473,486 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to fix: Could not access 'CDO.Message' object & other .NET bugs.

I had this error while attempting to send email. There are many
postings in this newsgroup on this particular problem and while many
have given good suggestions that sometimes fix the problem, what I
discovered is that the best way of handling this problem is the same
way I handle ALL bugs in .NET:

trap the error in a try...catch and examine the inner exception. The
message of the inner exception will normally tell you everything.
Better yet, examine the messages in ALL nested inner exceptions to get
to the root of the problem.

The majority of people posting bugs that cannot be fixed often make
the same mistake in not implementing a robust error handler that
stores all the inner exceptions into a log file.

Hope this helps,
Johann Blake

CloserWorlds
www.closerworlds.com

GPS tracking for vehicle, people, cell phones over GSM, GPRS. Uses an
XML web service, supports various mapping software including MapPoint
and OziExplorer, is hardware independent, supports data in multiple
languages and can be adapted by programmers. Uses SQL Server. Built
entirely in C#.
Nov 16 '05 #1
0 1344

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

Similar topics

15
3678
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My...
4
9259
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...
1
3187
by: Carol | last post by:
Hi, I am using VB.NET2003 on a Windows XP. I tried to write a simple program to send email with attachment (see below for the code). I add reference to "Microsoft CDO 1.21 library" and "Microsoft...
0
248
by: Johann Blake | last post by:
I had this error while attempting to send email. There are many postings in this newsgroup on this particular problem and while many have given good suggestions that sometimes fix the problem, what...
2
7252
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...
0
1193
by: Jacob Anderson | last post by:
Hello In my ASP.NET application and other windows services that access the CDO.Message object via the System.Web.Mail namespace, I often get the "Could not access the CDO.Message object" message. ...
1
2421
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
3956
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. --->...
3
2562
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
5308
by: brunovg | last post by:
Hello, There's any way to configure a CDO.Message object to set the read and delivery receipt option, in C#? I already tried: CDO.Message msg = new CDO.Message(); .... msg.Fields.Value =
0
6964
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
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
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
7319
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
5430
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 project—planning, coding, testing,...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.