- David Peace (Powersoft)
- PowerServer
- Tuesday, 5 November 2024 04:31 PM UTC
Hi Guys
PB2022R3 latest build Win10. I have a problem deploying a cloud application that has deployed happily before. I was only changing the shortcut name, i reverted it back and it still fails.
The error info is as follows:
Info: Updating file (mainsite\Pssupport_cloud_API\AppConfig\Applications.json).
Info: Updating file (mainsite\Pssupport_cloud_API\AppModels.dll).
1>MSDEPLOY : error Code: ERROR_FILE_IN_USE [C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
More Information: Web Deploy cannot modify the file 'AppModels.dll' on the destination because it is locked by an external process. In order to allow the publish operation to succeed, you may need to either restart your application to release the lock, or use the AppOffline rule handler for .Net applications on your next publish attempt. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.
1>MSDEPLOY : error count: 1. [C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
1>Done Building Project "C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj" (Publish target(s)) -- FAILED.
Build FAILED.
"C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj" (Publish target) (1) ->
(MSDeployPublish target) ->
MSDEPLOY : error Code: ERROR_FILE_IN_USE [C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
MSDEPLOY : error count: 1. [C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:25.52
Failed to publish the installable cloud app.
---------- Finished Deploy of pssupport_cloud (16:22:41)
Error(s) occurred during the deployment. For more information, see above messages.
The temp folder C:\Users\dpeace\AppData\Local\Temp\pbappscache 22.0\ServerAPIs is deleted after the build fails, but I was able to see that it existed during the build process. I have rebooted the PC and tried the deploy again. I'm not sure what I can do to fix this..... ideas please?
Thanks
David
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.