I am having some trouble setting up HangFire. The SQL database is in VM which runs on my PC. I can connect to this database just fine and can get and post data to the DB. I use a SQL login for the database as this is meant to be a replica of an environment.
When running the GlobalConfiguration in Startup, I get the following error:
“Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=19558; handshake=9999”
Connection String ->
Connection Code -> GlobalConfiguration.Configuration.UseSqlServerStorage(“HangFire”);
I am at a loss as to why I’m getting the timeout. Any assistance will be great!