I just had the same problem and took forever to find out what kept making the error noise. Turns out it was a pop up ad in a new safari window behind all of my other windows.
There's some new (annoying) ads going around that play the XP error sound every few seconds, I've noticed them mostly in-line on some websites. Damn you, Adobe Flash.