I'm trying to convert a page from one page type to another but get the following error message. Any ideas to what causes it? I made some changes to the right before trying to convert it and in the new version the page type that I'm trying to convert from is not included. Could this have anything to do with it?
Could not convert the page: Violation of PRIMARY KEY constraint 'PK_tblProperty'. Cannot insert duplicate key in object 'dbo.tblProperty'. Violation of PRIMARY KEY constraint 'PK_tblWorkProperty'. Cannot insert duplicate key in object 'dbo.tblWorkProperty'. The statement has been terminated. The statement has been terminated.
It was not because of the code not being inclided. I rebuild the project with the code included but I still get the same error.