IIS activated but localhost page won't work


  1. Posts : 212
    Windows 7 Professional 64bit
       #1

    IIS activated but localhost page won't work


    Hey all!

    I am setting up a workspace for a temporary project. I already set VS and SQL-Server (both are running fine) but now I am struggling with IIS. Actually this is not the first time... every time I have to use IIS is a nightmare. Unfortunately the project is based on a complex site package that demands it and so I have no other alternative.

    Anyway, what I did so far:

    1) Entered Control Panel and added IIS. To be absolutely sure about this I checked EVERY checkbox including even what I probably wouldn't need.
    2) Rebooted, entered Opera, and tried localhost. Nothing.
    3) Then I CMD and iisreset as administrator. It stopped and restarted service successfully, so apparently the service should be there. However, in TM services tab I just see IISADMIN running. Is this correct?
    4) This time I didn't reboot. I just entered Opera, and tried localhost. Nothing.

    Any idea?

    Thanks!
      My Computer


  2. Posts : 51,479
    Windows 11 Workstation x64
       #2

    Can you access IIS manager?

    Windows key + R then type inetmgr
      My Computers


  3. Posts : 212
    Windows 7 Professional 64bit
    Thread Starter
       #3

    z3r010 said:
    Can you access IIS manager?

    Windows key + R then type inetmgr
    Yup! Thanks for this... I'm on it but still stuck... In the left list I realized that there is nothing under "sites" then I started trying to add one:

    Site name: localhost
    Application pool: [ASP.NET v4.0 Classic]
    Physical path: C:\inetpub\wwwroot

    In the pass-through authentication (button 'Test settings...') it authenticated but failed authorization. Don't know what it means.

    On binding I wasn't sure of what to choose then I picked 'net.tcp'.

    However the OK button is still grayed out. I realized that to ungray it I have to type something in the 'Binding Information' field although I have no idea what.

      My Computer


  4. Posts : 51,479
    Windows 11 Workstation x64
       #4

    It should have had a default website already setup, you can recreate it with the instructions here Recreate the default website in IIS - Stack Overflow
      My Computers


  5. Posts : 212
    Windows 7 Professional 64bit
    Thread Starter
       #5

    z3r010 said:
    It should have had a default website already setup, you can recreate it with the instructions here Recreate the default website in IIS - Stack Overflow
    I just followed the instructions but there is not a 'DefaultAppPool' option. The closest as possible is 'Classic .NET AppPool' so I picked it.

    In the instructions it says 'leave Binding and everything else as is'. I did. The OK button is still grayed out.

    Argh!

      My Computer


  6. Posts : 51,479
    Windows 11 Workstation x64
       #6

    I think something hasn't installed correctly, the type box should have http or https options only.

    Maybe remove IIS and set it back up again.
      My Computers


  7. Posts : 212
    Windows 7 Professional 64bit
    Thread Starter
       #7

    Hey, z3r010! While you typed I was just trying it and it is fixed now!

    The instructions found here has healed the problem. I just disabled IIS and WAS, rebooted, enabled IIS and WAS and rebooted. The default site is back and localhost is working on browser now.

    Thank you for helping!

      My Computer


  8. Posts : 51,479
    Windows 11 Workstation x64
       #8

    No problem, I'm glad you got it sorted
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:27.
Find Us