Internal Server Error on post.php after upgrading WordPress

I recently upgraded my copy of wordpress to 2.5.1. All apparently went smoothly until I tried to write a new post. When I pressed ‘publish’ the page would hang for a while and then return an Internal Server Error.

For those of you experiencing the same trouble. The problem was with the database. I uploaded my mysqldump of the wordpress db via phpMyAdmin on GoDaddy, I had enough grief as it was trying to get the script to go through properly, the problem was that it neglected to assign the AUTO_INCREMENT property to ID fields on all my wordpress tables. So effectively I could not create new rows.

Thanks to Ken for pointing me in the right direction.