I applied and got rejected based on lack of family ties in my country of residence.
Is it because I was visiting??
Should I go to my country and apply from my home county?
Though the reason cited for refusal only refers to family ties, there may be more variables that contributed to the Visa Officer's decision. Can you give us a little more background and info on your profile and your application?