The personal Blog of Chris Dempsey

Chris is a web developer working freelance in Ayr nr Glasgow, Scotland. Other business interests include Underground Grapics, a company that manufactures vinyl decals for modified cars.

Tuesday 2 March 2010

Error '80040211' - when CDOSYS email goes wrong

We had an issue on an asp shopping cart site over the past day after it was moved to a new server. Initially it wouldn't send emails out which was easily sorted as the new server doesn't have Jmail installed.

I switched it to CDOSYS instead but in my haste forgot that CDOSYS should be authenticated causing the following error:
error '80040211'
/includes/functions.asp, line 537
This was an issue because during the checkout process the shopping cart sends an email to the store owner and the customer but this was failing and people thought their order hadn't been taken. Worse still there is no error handling for this and customers were just seeing a white screen with a non descriptive error.

Fortunately the shopping cart software wrote all the order details to the database before the error occurred so we were able to contact those who thought their order had failed.

Moral of the story is not to migrate a busy website to a new server and not test it thoroughly.

No comments:

Post a Comment