Relative Content

Tag Archive for windows.net-corefile-ionetwork-share

Sporadic “File is being used by another process” when trying to open a file after copying to a network share

In our application we have an ASP.NET web server and an API server for taking on various jobs. In this particular workflow the user uploads a file that the Web server copies to a network share for the Job server to consume. The Job server is notified of this through a new row in an MSSQL table which it scans every second. Sometime this year during integration testing this flow began randomly failing with: