In my case, for whatever reason - I'd accidentally cloned an older version of the repository. This older version of code caused this error when hosting locally on IIS, probably due to outdated protocols.