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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johann Blake

    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


    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#.
Working...