I configured a transactional replication between SQL2008R2 (Publisher) and SQL2017 (Subscriber with pull Subscription).
Replication itself works fine.
Among other things wizards did create on Subscriber side job called somehow like "Server-Database-Publication-Subscriber-ReplicationDatabase-GUID"
But when I try to watch Distribution Agent Properties from Replication Monitor I've got Error:
TITLE: Replication Monitor
------------------------------
Replication Monitor could not display the Properties dialog box.
------------------------------
ADDITIONAL INFORMATION:
Cannot show requested dialog. (SqlMgmt)
------------------------------
Attempt to retrieve data for object failed for Server 'Server'. (Microsoft.SqlServer.Smo)
------------------------------
The Job 'Server-Database-Publication-Subscriber-4' does not exist on the server. (Microsoft.SqlServer.Smo)
------------------------------
Here two names once more to compare:
Server-Database-Publication-Subscriber-ReplicationDatabase-GUID
- exists
Server-Database-Publication-Subscriber-4 - searched
The job with such a name really doesn't exists on both sides. BUT!
But I can see a session in Activity Monitor with value 'Server-Database-Publication-Subscriber-4' in "Application" column. As I think that is the session established from Subscriber with distrib.exe.
So question is why is there a mess of names? Where does distrib.exe takes name from for it's ConnectionString's "Application" property? And can it be overridden somehow?
Andrey Shvidky