Tip: Access denied / IO Exception errors when publishing a solution in 7.0.1+

Tip: Access denied / IO Exception errors when publishing a solution in 7.0.1+

  


 Symptom:
 
You are using Agile Platform version 7.0.1+. When publishing a solution you get an error similar to the following:
 
Access to the path 'C:\OutSystems\Platform Server\share\tmp.Expenses.235\' is denied
 
Details: System.IO.IOException: Access to the path 'C:\OutSystems\Platform Server\share\tmp.Expenses.235\' is denied
 
 Cause:
 
Starting in 7.0.1, platform server handles solution deployment differently, creating temporary folders to optimize the publishing process. These temporary folders are only there momentarily and are then renamed.
 
If you have Anti-Virus software that scans the Platform's directories, the folder cannot be renamed while this software is scanning the newly created files, resulting in the error above.
 
 Resolution:
 
Add the OutSystems Installation folder to your anti-virus exclusion list.
 
Other tips on optimizing your antivirus software for use with OutSystems platform here.