SQL Server Error Msg 21663 – Cannot find a valid primary key for the source table [%s].[%s]. A valid primary key is required to publish the table. Add or correct the primary key definition on the source table.

In this blog post, let’s learn about the error message “21663 – Cannot find a valid primary key for the source table [%s].[%s]. A valid primary key is required to publish the table. Add or correct the primary key definition on the source table.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

21663 – Cannot find a valid primary key for the source table [%s].[%s]. A valid primary key is required to publish the table. Add or correct the primary key definition on the source table.

Reason for the Error

To be update soon…

Solution

To be update soon…