Access the path 'C:ProgramDataSourceCodeTemp{randomcharacters}.kspx{guid}' is denied. Service: PackageDeploymentService
kbt133775
PRODUCTK2 blackpearl
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
Issue
Issue caused by the fact that K2 service account does not have access to the following directory: %ProgramData%SourceCodeTempSymptoms
When attempting to create a package via Web Package & Deployment, the following error is logged: Access the path 'C:ProgramDataSourceCodeTemp{randomcharacters}.kspx{guid}' is denied. Service: PackageDeploymentService

Resolution
- Grant K2 service account Full Control on the "C:ProgramDataSourceCodeTemp" folder on the destination server.
- Next clear up contents of this folder (Removing everything in the folder)
- It should be able to successfully deploy packages in the process.
