SQL Server Error Msg 20058 – The @agent_type must be 1 (Snapshot), 2 (Logreader), 3 (Distribution), or 4 (Merge)

In this blog post, let’s learn about the error message “20058 – The @agent_type must be 1 (Snapshot), 2 (Logreader), 3 (Distribution), or 4 (Merge)” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

20058 – The @agent_type must be 1 (Snapshot), 2 (Logreader), 3 (Distribution), or 4 (Merge)

Reason for the Error

To be update soon…

Solution

To be update soon…