Thanks moozzyk for your response and sorry for late response from my side as I was out for a month. I tried as you mentioned but still I am getting error.
I have also posted the same issue in stackoverflow, it would be great if you look here and provide me the solution.
I have also posted the same issue in stackoverflow, it would be great if you look here and provide me the solution.