The file is locked by: "w3wp.exe" after windows update

748 views Asked by At

I' ve an ASP.NET CORE project with IIS, Im using this about 1 year without problems. Yeserday I update windows 1909 to 21H2 and im getting all the time these errors on visual studio:

"The process cannot acces the file ... (DLL) because it is used by another process"

"Exceeded retry count of 10. Failed. The file is locked by: w3wp.exe"

So i can't publish updates on my software.

I see that on executing process, the w3wp.exe is duplicated when i try to publish.

double w3wp.exe

So now, to publish the project i must close manually all these processes and then publish it. This "solution" works sometimes; but it's so realy realy boring Is there a way to solve this error? I tried to search many solutions, but nothing works.

0

There are 0 answers