Access the path 'C:ProgramDataSourceCodeTemp{randomcharacters}.kspx{guid}' is denied. Service: PackageDeploymentService
kbt133775
PRODUCTIssue
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.