SQL 2017 Developer 14.0.3037.1. Management Studio 17.9/14.0.17285.0
Created merge replication. Everything in replication works with no errors.
If I connect with Replication Monitor from PC2 (Subscriber) to PC1 (Publisher and also Distributor) Monitor on PC2 works perfect.
If I connect locally with Replication Monitor it stucks with message "Retrieving data from Distributor". No errors in logs. No errors in Profiler
Reinstalled server, reinstalled studio, updated server, updated studio, executed repair from installer, recreated distributor, recreated replication. Nothing helped. Both PC1 and PC2 have same servers and versions of Studio and send same queries (caught with Profiler)
When I press on PC1 Action => Distributor settings => Connection it throws exception:
TITLE: SQL Monitor
------------------------------
SQL Monitor encountered unexpected error. Do you want to continue?
===================================
Object reference not set to an instance of an object. (ReplicationMonitor)
------------------------------
Program Location:
at Microsoft.SqlServer.Management.UI.PublisherSettings.ChangeConnection(Boolean changePublisher)
at Microsoft.SqlServer.Management.UI.PublisherSettings.ChangeDistributorConnection(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Any tips how to fix this?