I can also attest that you will not lose your music, it's in a seperate folder, called Music (or similar) which will not be touched when deleting and reinstalling iTunes.
Though depending on which error message you are getting, proably will not do anything to help your problem. I have recieved an error 6 message six times in a row and finally called Apple. I was on the phone with Apple for 3+ hours tonight and they have no idea what is wrong with mine. I got kicked up to the third tier of tech support and they are suppose to call by Wednesday with an update of my problem.
So if that doesn't fix your problem by reinstalling, then I would call. Good Luck.