ClickOnce Deployment Error - Access to the Path is Denied
- by michael.lukatchik
I have a WPF app that I'm deploying to a network path using ClickOnce deployment.
After the app is deployed to a network location, I use the ClickOnce html page to launch the installation process. I am successfully able to download and install the app.
However, my users are not able to download and install the app. When a user navigates to the ClickOnce html page and clicks to begin the installation process, the following error message is received:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://software.mycompany.com/myapp/myapp.application resulted in exception. Following failure messages were detected:
+ Downloading file://dev/webs/software/myapp/myapp.application did not succeed.
* [4/5/2010 1:56:59 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file://dev/Webs/software/myapp/myapp.application did not succeed.
All signs point to this being a security issue. So, I've done the following:
Ensured that "Everyone" had read access to the files that were being deployed as part of my project
Ensured that "Everyone" had read access to the network location where the app was deployed (//dev/webs/software/myapp)
Ensured that "Everyone" had read access to the IIS path where the ClickOnce html page is located
In each of these cases, I've made no progress in getting the app to successfully deploy via ClickOnce.
Again, the odd thing is that I am able to successfully walk through the process of downloading and installing the app. It's my users, though, that need the ability to download and install the app.
I've looked extensively on the web for answers, but there hasn't been much. I'd like to resolve the issue without "re-installing" or "rigging" anything.
I need a solid answer. Thank you all for your input!!
Mike