You didn't do anything like copy the development profile.asp to production, did you?
Pretty weird. I'm in the middle of rewriting that routine so it wouldn't surprise me if the development version were crashing, but ... hmmmm..... One of the changes I've made was to the stored procedure at the beginning of it. And I know exactly what's wrong. Used a regular Join when I needed to use a Left Outer Join. Damn. I'm not at the shop right now so can't fix it yet.