C
C#17mo ago
Florian Voß

❔ Need help with publishing

We use click-once deployment. I am using Visual Studio Publish Wizard. I incremented the version number and pressed "Publish". Visual studio says "Publish Succeeded" Now upon restarting the application on a client, it successfully installs the new version from our NAS which means publishing has worked. However the new donloaded version of the app doesn't start, even tho it worked for me before I have published. All I have as information is this Error Summary here:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \\Nas02\Software\AgentUI\AgentUI.application resulted in exception. Following failure messages were detected:
+ Exception occurred during store operation.
+ The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \\Nas02\Software\AgentUI\AgentUI.application resulted in exception. Following failure messages were detected:
+ Exception occurred during store operation.
+ The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
As you can see it complains about 1. Exception during store operation 2. file being used by another process about first error I have no idea what this means, regarding second - I have checked which processes are using the file, there are none...
2 Replies
Florian Voß
Florian VoßOP17mo ago
like I can confidently say that the file is NOT being used by another process, I am using Power Toys' "Whats's using my file" tool
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?