SP Web App
When I delete a Web Application from Central Administration, I cannot create a Web Application at the same address. I also see that the IIS folder does not disappear:
I try to delete the folder by hand, but the following file is locked:
It gives an error:
- The process cannot access the file
- ‘C:\inetpub\wwwroot\wss\VirtualDirectories\mySite443\_app_bin\Microsoft.SharePoint.WorkflowServices.ApplicationPages.dll’ because it is being used by another process
Some people suggest iisreset, but the process is actually locked by PowerShell with SharePoint extensions.
Close all PowerShell and delete the file.