I had to create few synonyms for mdsys objects. Now it is working. Thank you all for your help.
Forum Rules