I had installed replication between two m/c for test purpose.One othe m/c was then renamed.From the first m/c I used the uninstall publishing option,hence all replication tables and distribution database was dropped.In the list of remote servers the original name of the seond m/c is still there.When I try to drop that server ,it says 'distribution..MSDropsubscriber stored procedure is not there',hence it can not drop that server.

Please suggest solutions to drop that since I have to reinstall replication on the first m/c.