By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,417 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,417 IT Pros & Developers. It's quick & easy.

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

P: n/a
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


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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.