xsharp.eu • Files locked
Page 1 of 1

Files locked

Posted: Wed Jan 18, 2023 12:20 am
by boonnam
After a recent Windows updates, we noticed some weird issue with files that were created on the server are being locked if we run our application from Visual Studio IDE. This is not an issue if we create an executable and run it from the server. This make debugging an issue since we sometime cannot run application since some files are locked. Anyone else experiencing this issue and how did you resolve it. Thanks.

Files locked

Posted: Wed Jan 18, 2023 7:33 pm
by GregG
To give a little more context to Boonnam's post: This is also happening in VO. If we create a simple text file on a network folder while running in the VO IDE or X# in VS, the file remains locked until the user signs out of the network. Even closing the open file using the server's administrative tools does not free up the file. However, running the exe on the network works just fine.