Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
need help with an error.my setup runs perfectlyand I can see the appication in program files but when i try to run the application.exe i get the following error

CSS
SOURCES
    Deployment url          : file:///C:/ProgramData/Microsoft/Windows/Start%20Menu/Programs/Startup/SystemTimer.appref-ms%7C

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SystemTimer.appref-ms| resulted in exception. Following failure messages were detected:
        + Downloading file:///C:/Users/Administrator/Desktop/SystemTimer Setup/SystemTimer.application did not succeed.
        + Access to the path 'C:\Users\Administrator\Desktop\SystemTimer Setup\SystemTimer.application' is denied.
        + Access to the path 'C:\Users\Administrator\Desktop\SystemTimer Setup\SystemTimer.application' is denied.
        + Access to the path 'C:\Users\Administrator\Desktop\SystemTimer Setup\SystemTimer.application' is denied.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.


Anybody help.
Posted
Comments
Mike Meinz 6-Oct-13 8:13am    
"Access denied" would indicate that the username that is running the application does not have access to the directory where the application is deployed. It looks like you have deployed the application to a directory within the Administrator username's directory tree. Try deploying to a \\server\sharename\directory UNC style directory name that the username has permissions to access. If you are doing all of this on one PC, create a directory (example: C:\DeployedApplications\), setup the permissions to allow access by the usernames on that PC and then deploy the applications to that directory.
Kschuler 7-Oct-13 12:14pm    
Could you specify more about how you setup this ClickOnce Deployment? Generally you wouldn't activate a .exe file with ClickOnce. Instead you have an application reference. And most of the application files are burried in wierd temporary files under your windows's user name. So how did you use ClickOnce?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900