This question already has an answer here:
I am an Indian Citizen, studying in Hong Kong and hence have a Student Visa in Hong Kong. My Parents are in Dubai UAE and have a resident visa of UAE, and are planning a trip to Europe. My plan is to go to Dubai on a Tourist Visa and from there all of us travel together. Can i apply for the schengen visa when i am in Dubai on a tourist visa?