IISExpress cannot find ssl page running localhost with Visual Studio 2013

前端 未结 11 799
旧巷少年郎
旧巷少年郎 2020-12-23 20:17

When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found.

This is my proj

11条回答
  •  猫巷女王i
    2020-12-23 20:59

    The steps followed by me to resolve this (I am using vs2015)

    1)Go to control panel

    2)Add Remove Programs

    3)Repair IIS Express

    4)Restarted my computer

    4)Next go to my documents->IIS Express->Config Files

    5)Take a copy of them and Remove those files from there

    6)Delete all items C:\Temp

    7)Check for .vs folder in your sln file and goto config folder in it

    8)Take a copy of that as well and remove the files inside it

    9)Clean your solution

    10)Restart Visual studio

    11)Build and run

    (I copied clean config files from my colleagues machine - in locations mentioned above
    1]In Documents
    2] .vs folder
    I suppose Just running IISExpress and it will recreate the file for you. The exe is located at: "c:\Program Files\IIS Express\iisexpress.exe". )

提交回复
热议问题