In this blog post, let’s learn about the error message “21782 – Cannot add primary key column ‘%s’ to article ‘%s’. If the Publisher is a non-SQL Server Publisher, the primary key could have violated SQL Server limits for number and length of columns. For more information, see errors returned by sp_addarticle.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
21782 – Cannot add primary key column ‘%s’ to article ‘%s’. If the Publisher is a non-SQL Server Publisher, the primary key could have violated SQL Server limits for number and length of columns. For more information, see errors returned by sp_addarticle.
Reason for the Error
To be update soon…
Solution
To be update soon…