Hi Deepak,

Thank you for sharing that Valuable Solution, i know it's very late but I am facing this same error but at my point i have same issue when i tried to click on Edit button or new button.
 
Thanks in advance.