Symptoms

Assume that you create a synonym for a stored procedure that takes a table-valued parameter in Microsoft SQL Server 2014 or 2016. When you execute that stored procedure by using the synonym from a remote procedure call (RPC), for example, from a C# application, the execution fails, and you receive the following error message:

Error: 2809
The request for procedure <procedure name> failed because <object name> is a synonym object.

Note When you execute the same stored procedure by using SQL Server Management Studio, this issue does not occur.

Resolution

The issue is fixed in the following cumulative updates of SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install 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 terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×