Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column

186 views Asked by At

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

0

There are 0 answers