Getting following error when trying to execute a job The virtual path '/' maps to another application,…

When enqueue a new job I am getting the following error:

The virtual path ‘/’ maps to another application, which is not allowed.

I believe the issue is that i have multiple project in IIS root directory.

Hangfire is implemented in project2

Everything works fine in localhost.

1 Like

Check your web.config file in the root of Project 2 is correctly isolating the application. Any setting which has an “applicationName” value should be set. I can be anything, just make it different from Project 1