what reason was given ?
Applying for a UK visa if you have temporary permission to stay
If you have temporary permission to stay (for example, as a visitor) in the country where you are currently living, you cannot apply for most types of UK visa in that country. You can only apply for:
a visitor visa
a Tier 5 (Temporary worker - creative and sporting) visa
an EEA family permit
Your application may be referred back to your country of residence, which may cause delays.
To apply for any other type of UK visa, you must apply under the procedure for your country of residence. You can find this procedure by selecting your country of residence in our country finder .
http://www.ukba.homeoffice.gov.uk/co...e=UK%20English