# Hangfire Job Load Exception in Microservices Architecture

**URL:** <https://discuss.hangfire.io/t/hangfire-job-load-exception-in-microservices-architecture/11009>\
**Category:** bug?\
**Tags:** recurring, aspnetcore\
**Created:** [November 17, 2024, 6:23pm UTC](https://discuss.hangfire.io/t/hangfire-job-load-exception-in-microservices-architecture/11009 "2024-11-17T18:23:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elango-sengottaiyan](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elango-sengottaiyan](https://discuss.hangfire.io/u/elango-sengottaiyan)\
**Post date:** [November 17, 2024, 6:23pm UTC](https://discuss.hangfire.io/t/hangfire-job-load-exception-in-microservices-architecture/11009/1 "2024-11-17T18:23:25Z")

</div>

I’m facing a `Hangfire.Common.JobLoadException` while working with a Hangfire job in a microservices architecture that utilizes the StackExchange.Redis package and single AWS ElastiCache. The job is associated with three services: GraphQL, Deal, and Product.

When I schedule the job in the GraphQL service, it executes either in Deal or Offer, and receive the following exception:

Exception:

```auto
Hangfire.Common.JobLoadException: Could not load the job. See inner exception for the details.
 ---> System.IO.FileNotFoundException: Could not resolve assembly 'Services.GraphQL.Infrastructure'.

```

The error stack trace indicates that the assembly cannot be resolved, which leads to the job failing to load. I’ve used the following code to schedule the job:

C# Code

```auto
RecurringJob.AddOrUpdate(jobId, queue, methodCall, cronExpression, options);

```

I’m trying to use the `Queue` attribute to specify a custom queue name for my jobs, but it still stores the queue name as “default.”

Has anyone experienced a similar issue or have suggestions on how to resolve this? Any insights would be greatly appreciated!
