I have set PK for all Admin tables. They were working fine in the website. It's still working in the VM, when I debug the application using F5.
But the same code when deployed to IIS website, throwing this error all of the sudden. I didn't change any code specific to this issue.
Thanks, Jay