Friday, May 25, 2007

We have some code in production that sends e-mails. Pretty common, I imagine. However I used the app today and received this message:

Unexpected Error: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available.

Wow, great error message, .NET! After a few minutes searching on google I found out that means that your SMTP username/password were denied. Thanks for the help, Microsoft!

Wednesday, May 23, 2007

Double post


Coding for the .NET framework has its advantages, like being able to see the internal Microsoft function calls. This came from an exception trying to read a file that didn't exist:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

What a great parameter.

And this is a feature I guess: IIS memory leak automatic protection. It's easier than writing a good garbage collection algorithm I guess.

Thursday, May 10, 2007

Access Denied

Windows has horrible file locking. I've been plagued with tons of errors since I started working with Windows-based servers. My error of the day is this random thing that happens sporadically when I try to build a project in ant:

BUILD FAILED
C:\files\workspace\suite\build.xml:43: java.io.FileNotFoundException: C:\files\workspace\suite (Access is denied)


Usually, waiting a few minutes will resolve the problem.

Contributors