Showing posts with label XP Pro. Show all posts
Showing posts with label XP Pro. Show all posts

Sunday, August 31, 2008

http://Localhost - No web site is configured at this address

Hi,

When you trying browse http://localhost, do you see the message, "No web site is configured at this address". I also saw the same message today and was trying all tricks to solve it for 20 - 30 mins untill i found this helpful blog. Here are points mentioned and I made sure all are done as mentioned below(updated with my attempt);

I am using OS: XP pro & IIS V5.1.

Note: Y= checked on, N= not checked.

Website Identification: Running, Host header name: blank,IP Address (SELECT All Unassigned) port: 80

WEB SITE
HTTP keep alive enabled : Y
Enable logging: Y

ISAPI FILTERS: blank

HOME DIRECTORY:
content should come from: A Directory on this computer :Y
Local path: c:\inetpub\wwwroot (which I have shared through explorer: share folder on network:Y, Allow users to change files: Y)

Script source access: N
Read: Y
Write: N
Dir browsing: N
Log Visits: Y
Index resource: Y

application setting:
Application name: Default Application
Execute Permissions: Scripts Only
Application protection: Medium(pooled)

DOCUMENTS:
enable default document: Y
(I have added my Login.aspx here(and all other website files) to the inetpub/wwwroot directory)
enable document folder: N

HTTP HEADERS:
enable content expiration: N

DIRECTORY SECURITY:
ANONYMOUS ACCESS & AUTHENTICATION CONTROL: (EDIT)
anonymous access: Y
User name: SOMESTATION\IUSR_SOMESTATION (SOMESTATION being my computer name)
allow IIS to control password: Y
basic authentication: N
Integrated Windows Authentication : N

I Believe after making highlighted change (Select: All Unassigned) only it worked fine for me.

Regards
Fauzi

Failed to access IIS metabase.

Hi,

Here is the solution for the error "Failed to access IIS metabase." which occurred in my case when i was trying to access a web application first time after installation of IIS (Version 5.1) in my XP pro.

In command prompt, go to the location:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Run, aspnet_regiis -i

This will install asp.net 2.0. & web application works for me now :)

[Update]
At times ASPNET account may not have permission to access IIS metabase.
The following command has to be executed;

aspnet_regiis -ga ASPNET

Hope this should be helpful :)

Regards
Fauzi