Category:Troubleshooting
Last Updated:2011-08-03
 
UnitySync LDAP-LDIF
Error Summary
Error deleting ldif.txt Permission denied: 1
Error renaming temp.txt Permission denied: 1
This error occurs during Discovery phase if the process is unable to rename TEMP.txt to LDIF.txt.
Check if you are accidently running the same connection twice, at the same time... This is not allowed because only one can access temp.txt (ldif.txt) at the same time...
Check for instances ldap-ldif.exe running on the server (when you don't think any sync is running). In rare cases an ldap-ldif.exe might not stop correctly, so it is still holding access to temp.txt the next time that same connetion kicks off. Kill the left over ldap-ldif.exe process before the next sync run.
If this becomes an ongoing problem, you can consider configuring your Sync script to run via NT Scheduler. You can configure the scheduled task to stop running after X number of hours. Open the NT Scheduled Task. Go to the Settings tab. Specify the appropriate time frame for 'Stop the task if it runs for ___ hours.'