Normally, there aren't any that are specifically worded as to prevent you from attempting to cast on yourself, but there are a few that won't work as intended.
Breath of Life - You can use it on yourself, oddly enough, but since you can't cast while dead, all it does is heal you.
Raise Dead (and any similar spell) - You can't cast while dead, unless you take a Ghost Template. In which case, you can't cast spells with material components (if I remember correctly).
XXX Person - If you play a non-humanoid character, these spells won't work on you at all.
Charm person/Geas/etc - If you need to be better friends with yourself, I guess there's nothing wrong with a little magical paxil. Likewise, because you're already presumably in control over your actions, these shouldn't affect you. Likewise, if you're partially capable of controlling yourself, you can't use these spells to counteract the controlling force over you. The special exception, I suppose, would be if you had multiple personalities. I would allow a mage personality to cast charm person on his rogue personality. This would be a very awkward way of playing a multiclass character, but I'd give them props for attempting it.
Dream - Spell requires you to be sleeping (which isn't the same as unconscious, but might as well be). I'm hoping there aren't too many evoker narcoleptics casting in their sleep.
Stabilize - I guess if you're a half-orc, maybe...
Status - I guess you could, but what's the point? Just look at your character sheet.
Helping Hand - Want to find yourself?
Remove Blindness/Deafness - Yeah, you can cast this on yourself, but you suffer the failure chance of doing so
Imbue with Spell Ability - Use a spell to transfer your spell abilities to yourself
Banishment - there was a thread about using this spell on yourself to banish yourself back to your home plane
Refuge - Well, I guess its target is an item, but you can't use your own item to teleport to yourself
Discern Location (debatable) - I guess if you're lost, using this spell would be of great use, but I wouldn't think that you should be able to scry yourself.
Remove paralysis - Except to remove the slow effect
Atonement - Because if you need to atone, you can't cast the spell
Soul Bind - because you'd be dead already
I'm sure there are plenty more, but I think you get the idea of the general gist of what's going on.