When I set audit in appsettings.json, as "Audit": { "Insert": { "Action": true, "Data": false }, application throws exception. The exception is: SqlException: Violation of PRIMARY KEY constraint 'PK__Applicat__3214EC06B18E4936'. Cannot insert duplicate key in object 'dbo.ApplicationEvents'. The duplicate key value is (ad0c8023-223b-4dd3-8a35-3692fdc0d99c). The statement has been terminated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
When I set audit in appsettings.json, as
"Audit": { "Insert": { "Action": true, "Data": false },
application throws exception. The exception is:SqlException: Violation of PRIMARY KEY constraint 'PK__Applicat__3214EC06B18E4936'. Cannot insert duplicate key in object 'dbo.ApplicationEvents'. The duplicate key value is (ad0c8023-223b-4dd3-8a35-3692fdc0d99c). The statement has been terminated.
thank you