UKHeliBob:
Possibly, but unless you have another way of testing the servo or another servo to try with the Arduino it will be difficult to find out.Although the sketch as uploaded looks like it should work, try the Servo Sweep example from the IDE and connect the servo signal wire to pin 9, the servo power wire to 5V and servo GND to Arduino GND.
DO NOT use the servo like this for more than a few seconds and make sure not to stall the servo to avoid drawing too much current.
I tried that, Bob. It isn't working. I tried the same even before I used the 12 V supply and it didn't work. It was a servo which was working perfectly fine before that. Not sure what happened there.