Solving "Unexpected Store Error" in Exchange

Getting a weird COM Exception with the cryptic ID 0×8055001E?
We’ve been struggling with this problem for over a year now, and we finally have a solution.
We have some critical code that is contacting Exchange server via COM Interop and CDOEX.DLL to read some inboxes and process e-mails. About once a month or so, we get [...]

Popularity: 4% [?]

20 Things to do when the Internet goes down

Even if the Internet connection goes out, your computer does not become a dumb brick. There were days these last few days where I didn’t bother turning it on. Then I realized all the things I could still do.
(My home Internet connection finally came back this morning. I’m bit upset that they didn’t figure it [...]

Popularity: 3% [?]

Importance of disposing MailMessage objects

Always, always, always follow the suggested usage patterns of disposable objects. I had a strange problem recently where e-mail messages with attachments weren’t releasing the lock on the files for a long time. I was using the System.Net.Mail namespace, specifically the Attachment and MailMessage classes.
Disposable objects represent resources not directly under control by the CLR–and [...]

Popularity: 1% [?]

Changes in .Net 1.1. and 2.0 E-Mail classes

I recently (re?)learned a harsh lesson at work. We migrated a critical application’s e-mail client code to use System.Net.Mail’s classes instead of those in the deprecated System.Web.Mail.
After doing this, we immediately had three problems, mostly with the Attachment class:

Our automated test software could no longer read the attachments
Attachments started having names of Directory_Directory_FileName (they were [...]

Popularity: 1% [?]

Free Code Here!

I just received this hilarious message: 
Thanks, you *****, for not responding to my Prim’s e-mail, and may you be cursed with the worst of success in Computer Science.
Sincerely,
Michael
Every once in a while I get requests from people asking me for completed code. The purpose of my articles (and this blog) is to aid understanding, not [...]

Popularity: 1% [?]