Can I safely remove Entries in dbo.EventReceivers ?
The Problem is that when i'm deploying a Solution i get on the Feature Activation many Errors in the SharePoint Logs like:
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'EventReceivers_PK'. Cannot insert duplicate key in object 'dbo.EventReceivers'. The statement has been terminated.
But the EventReceiver i'm trying to Install is not installed before. When i'm looking in with Powershell there are no Registered EventReceivers on the List and even the List is before the deploying deleted.
I can only assume that SharePoint somehow hanged himself up at a earlier point and did not removed safely the EventReceivers from the Database.
Soo must I pay attention to anything else or can I simply remove the entries in the Database ?