1

How do I stop local IIS on my Win7 Pro machine from going to https from http? MVC 5 project. I inherited this from another developer.

Every time I start the prj or hit the local iis page manually, it keeps forwarding to https.

Beau D'Amore
  • 3,174
  • 5
  • 24
  • 56
  • have you checked the binding options of your site? – S.Dav Jan 28 '16 at 15:43
  • where? In iis? Yes, it is running as a vir-dir in my localhost under the main site which is only bound to 80. Which is ideal. I do NOT want SSL. I want it to stop going to https and stay on http... its redirecting on it's own. – Beau D'Amore Jan 28 '16 at 15:48
  • can you check your web project's properties should include 'SSL Enabled' which should be set to false – S.Dav Jan 28 '16 at 15:53
  • I don't have the choice for 'SSL Enabled'. I'm on VS 2015, MVC 5, 4.5.2 framework. I have ReSharper if that makes a diff... – Beau D'Amore Jan 28 '16 at 15:56
  • check [this SO question](http://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https) – Crowcoder Jan 28 '16 at 16:01
  • Thanks but yea, tried that already, no go... weird – Beau D'Amore Jan 28 '16 at 16:06
  • does it actually resolve to anything or does it say the page is not available? – Dafmeister Jan 28 '16 at 16:07
  • 3
    Check if your controllers don't have a `[RequireHttps]` attribute – Camilo Terevinto Jan 28 '16 at 16:47
  • bingo, the dev put require https on the home controller, that's why it kept doing that. I hadn't checked yet, just got the project. Thanks. Write it as an answer and I'll mark it. – Beau D'Amore Jan 28 '16 at 18:12

0 Answers0