I have setup merge repliation. my server A is setup has publisher and distributor is also running on the same system.
I have defined Push Scbcription on Server A to server B.
The snapshot is created sucessfully.
When the merger agent is started it is appling the snapshot and its failing at the end.
When I check the Error Details it gave me the following Error message.

"The subscription to publication 'CLINICAL_REPOSITORY' is invalid."

where CLINICAL_REPOSITORY is the database name.

Can any one please help me in resolving this problem.

Any Help whould be greatly appreciated.