Symptoms
Assume that you create a Peer-to-Peer (P2P) publication in Microsoft SQL Server 2014 or 2016. In this P2P publication, you publish a table whose schema name contains a period (.). When the distribution agent runs for this publication, it may fail with the following error:
Procedure or function ProcedureName has too many arguments specified
Cause
This issue occurs because the system generated stored procedures are created incorrectly in P2P publication when the schema name of published table contains a period (.).
Resolution
This issue is fixed in the following cumulative updates for SQL Server:
Cumulative Update 7 for SQL Server 2016 RTM
Cumulative Update 4 for SQL Sever 2016 SP1
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminologythat Microsoft uses to describe software updates.