Mega Code Archive

 
Categories / Delphi / ADO Database
 

permission denied ms terminal server, application using the borland database engine

Question: After logging into the Terminal Server the application is loaded which is followed by the BDE error: 11013 $2B05 "Permission denied." Answer: Terminal Server appears to create a temp folder for each user including appropriate rights. If the server is not brought down properly then the temp dir is not deleted and a subsequent user that logs in may be assigned an existing temp dir with someone elses rights. A possible solution would be to delete all files and temp directories in the temp directory when the NT server boots up each time.