An MVC site is on a local 2016 server using IIS. The MVC site runs without problem. But there is a dashboard page generated by the hangfire nuget package that throws the error in the title of this post.
I think I understand the issue. This page isn't generated by the asp.net code that comprises the MVC website and IIS doesn't want to show that page.
What change is the appropriate way to enable the dashboard page generated by the added hangfire dlls so that IIS will allow it to be displayed?
Added per request in comments:
Partial Public Class Startup
Public Sub Configuration(app As IAppBuilder)
ConfigureAuth(app)
GlobalConfiguration.Configuration.UseSqlServerStorage("HangfireDbConnection")
app.UseHangfireDashboard()
app.UseHangfireServer()
RecurringJob.AddOrUpdate(Sub() HangfireSvrController.AppTimer(), Cron.Minutely)
End Sub