You're not giving us much to go on.
If you have one web service that deploys successfully on 5.1, and a different web service that does not deploy, what does that tell you? What would logically be the problem?
Deployment errors cascade. The error that you report may be triggered by a previous error. The only way you're going to get help tracking that down is to post a stack trace.