June 25th, 2009

First, try reading the error message, episode 2: Even programmers see error messages without reading them

I will occasionally note that users don’t read error messages; they just click Cancel. And the phenomenon isn’t just restricted to naïve users. Even programmers ignore error messages. All they see is “Blah blah blah an error occurred.”

For example, there’s this message that appeared on a peer-to-peer discussion group:

I tried to submit an update to our database and I got this error. What does it mean? Is the error on the client or the server?

Opening transaction 34508.
Locking record 14 for update.
Updating record 14 in table BLUECHEESE.
Operation failed.
write: The file or directory is corrupted and unreadable.

When I try to view the record to see whether my update made it, I get this error:

The database may be corrupt; it requires administrator attention.
To protect the database, it has been taken offline.

I’m no expert here, but it looks like a write operation failed because the file or directory is corrupted and unreadable. Since you’re updating a record on the server, it’s probably a corruption problem on the server. (After all, there’s no change taking place on the client. The client is just asking the server to do the work.)

And the second error message seems to suggest that the database may be corrupt and requires administrator attention. As a precautionary measure, the database took itself offline so the corruption can’t spread. I’m pretty sure that’s a server-side thing, since the database is on the server.

Topics
Other

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.