The steps mentioned by Jim in the Post: http://social.technet.microsoft.com/Forums/en-US/project2010custprog/thread/31df01dd-864c-43d6-a593-3ce809670e72 worked for me. I was trying to configure the service programmatically which is still not working but
by using app.config it is working great.
Thanks All for reading this post
Regards
Adil
From Microsoft Forums