Hi
While trying to copy files to my website i get this error:
“Unable to copy the package to the specified directory ‘e:\ActiveTrail\mymarketing.co.il’. One or more files in the directory may be locked by another process. You could use a PreDeploy.ps1 script to stop any processes that may be locking the file. Error details follow.
The process cannot access the file ‘e:\ActiveTrail\mymarketing.co.il\Masters\ImportCustomers.Master’ because it is being used by another process.
System.IO.IOException: The process cannot access the file ‘e:\ActiveTrail\mymarketing.co.il\Masters\ImportCustomers.Master’ because it is being used by another process.”
Is There a way to overcome this problem without stopping the application pool?
And if not, any examples doing so via script?
Tnx,
Uri