Our replication job was getting failed with below error. To resolve this issue I have granted write permission to agent account on COM folder. Now job is running fine.
Error:Agent message code 21100. The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\100\COM' directory
Question is, replication job was running fine till yesterday without having such permission on folder now how suddenly job is getting failed?