Visual Studio 2012 IIS Express 8 Fresh Install - Can't Connect

后端 未结 6 517
臣服心动
臣服心动 2021-01-04 02:38

On Visual Studio 2010 + IIS Express 7 I was able to use IIS Express as a server and browse sites.

I\'ve since installed Visual Studio 2012 (on Windows 7 64-bit) with

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-04 03:17

    Did you check if the http bindings registration happened for your site? (running "netsh http show servicestate" command from command prompt would show all the registered bindings and check if your site binding "localhost:60046" exists or not)

    if your site binding does not exists, try following to check why bindings registration is failing.

    1. Open command prompt
    2. Goto IIS Express installation folder (%programfiles%\iis express)
    3. Start your site from command line by using following command line iisexpress.exe /site:"your-site-name" /trace:d
    4. Step 3 would show error message if the bindings registration fails

提交回复
热议问题