- Knowledge base
- powerJobs Processor
- Troubleshooting
When starting powerJobs Processor it fails with the exceptions .ctor failed and LoadJobsInCache failed
Issue
powerJobs Processor fails to start with the errors: LoadJobsInCache failed with exception and .ctor failed with exception, sometimes also GetPowerJobsClient failed with exception
Cause
There are 2 Jobs with the same name in the Jobs folder, located in "C:\ProgramData\coolOrange\powerJobs\Jobs".
PowerJobs Processor reads the names without the extension and everything that is added behind. That means that
- Sample.CreatePDF.ps1
- Sample.CreatePDF.ps1backup
have the same name in powerJobs Processor and the application will run into an error
Solution
Rename your jobs with a unique name before the extension: <UniqueName>.ps1