Solved IIS activated but localhost page won't work

yankleber

IT Dinosaur
Member
VIP
Local time
11:15 AM
Messages
212
Location
Home
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 My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64bit
CPU
Intel i5-3330
Motherboard
GigaByte B75M-D3H
Memory
8GB
Graphics Card(s)
Onboard
Sound Card
Behringer UCA222
Monitor(s) Displays
Samsung 22.5"
Screen Resolution
1920x1080
Hard Drives
SSD Kingston 120GB
HDD Samsung 320GB
Internet Speed
1M
Antivirus
ZoneAlarm FW + AV Free
Browser
Chrome
Can you access IIS manager?

Windows key + R then type inetmgr
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 11
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.

:huh:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64bit
CPU
Intel i5-3330
Motherboard
GigaByte B75M-D3H
Memory
8GB
Graphics Card(s)
Onboard
Sound Card
Behringer UCA222
Monitor(s) Displays
Samsung 22.5"
Screen Resolution
1920x1080
Hard Drives
SSD Kingston 120GB
HDD Samsung 320GB
Internet Speed
1M
Antivirus
ZoneAlarm FW + AV Free
Browser
Chrome
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!

uY2fkBr.jpg
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64bit
CPU
Intel i5-3330
Motherboard
GigaByte B75M-D3H
Memory
8GB
Graphics Card(s)
Onboard
Sound Card
Behringer UCA222
Monitor(s) Displays
Samsung 22.5"
Screen Resolution
1920x1080
Hard Drives
SSD Kingston 120GB
HDD Samsung 320GB
Internet Speed
1M
Antivirus
ZoneAlarm FW + AV Free
Browser
Chrome
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 11
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 My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional 64bit
CPU
Intel i5-3330
Motherboard
GigaByte B75M-D3H
Memory
8GB
Graphics Card(s)
Onboard
Sound Card
Behringer UCA222
Monitor(s) Displays
Samsung 22.5"
Screen Resolution
1920x1080
Hard Drives
SSD Kingston 120GB
HDD Samsung 320GB
Internet Speed
1M
Antivirus
ZoneAlarm FW + AV Free
Browser
Chrome
Back
Top