Hi,
A few days ago I came across the following error:
The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\100\COM' directory. System returned errorcode 5. (Source: MSSQL_REPL, Error number: MSSQL_REPL21100) Get help: http://help/MSSQL_REPL21100
I resolved the issue by granting the SQL Service and agent accounts full permissions on the above folder. My question is, what could have caused this to fail? It been running perfectly for months and then suddenly replication failed and I saw the above error. Could it be a case of someone removing the permissions from the folder? I've checked the replication job owner etc. and nothing has been changed. Any suggestions to what could have caused this?
Thanks in advance.