Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Scheduler Service should log hostname on which job failed

Fixed in

EPiServer.CMS.Core 10.1.0

(Or a related package)

Created

Aug 26, 2016

Updated

Nov 14, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

A customer gets a "failed to load the assembly and type" message, but the information about the server, machine, name, and so on is missing. This information can help the site owner detect deployment problems.

  1. Create a custom job.
  2. Install the custom job on 1 of 2 servers.
  3. Run the job from the second server.

Expected: You see an error message about the job and host name.
Actual: The following error message appears: Failed to execute job because of type and assembly...

Note: In upcoming versions, the scheduled job log always contains the server on which the job ran as a separate column/property. This fix only applies that information to the error message.