Solved

Web Server Authentication Problem

Posted on 2009-07-02
33
176 Views
Last Modified: 2012-05-07
I want to access a new web server I have created, but I am having problems with Authentication

I have gone back to basics and created an Index.htm page in the root folder that just says "Hello World" and when I type in the URL http://webserver/index.htm from the webserver it goes straight to the page and displays "Hello World", but if I run this URL from any other maching in the network then I get a Windows Authentication login page and if I enter the domain\User & password I get to the "Hello World" page, how do I configure IIS to allow me acces without seeing the Login page.

I'm assuming that for this simple test that I'm not yet going through the ISA Server

I appreciate that there are plenty of variables I haven't mentioned, so please ask any questions that will help resolve this problem.

I either have a DNS or an Authentication setting issue
0
Comment
Question by:Steveh24
  • 19
  • 14
33 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 125 total points
Comment Utility
i think you will have to enable

annynomous login from IIS control panel

and take off , intregrated windows login

0
 

Author Comment

by:Steveh24
Comment Utility
Tried that, but makes no difference, still get the login page
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
aftr change, did you restart IIS ??
0
 

Author Comment

by:Steveh24
Comment Utility
yes
0
 

Author Comment

by:Steveh24
Comment Utility
When I uncheck the Windows Authentication, I then get an error saying Im unauthorised to view this page,

HTTP Error 4101.1
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
what about with windows authentciation, sorry i didnot touch windows for long, so bare with me
click the windows authentication + anynomous access
0
 

Author Comment

by:Steveh24
Comment Utility
That was the default setting, windows authentication + anynomous access, which works but you get a login page, if I uncheck windows authentication then I get the error as described above
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
ok
then its must be permissin issue

can you check, the username is in annynomous user, it has the permission of that directory you are trying to access
0
 

Author Comment

by:Steveh24
Comment Utility
Sorry, don't understand what you mean
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
ok
in IIS , under anynomous user, there would be a username and password ,example IUSR_PCNAME


now, go to C:\Inetpub\wwwroot\Direcotryname

check the permisison

if  IUSR_PCNAME has the permission to read that directory
0
 

Author Comment

by:Steveh24
Comment Utility
ok, think I have found the problem, but can't resolve it.

IUSR_FILESVR is the name used for annynomous login, but if I go to  C:\Inetpub\wwwroot\Index.htm and check the security setting this name is not there and if I try to add it, IUSR_FILESVR cannot be found.

FILESVR is the name of the server box.
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
you need to click on find button, to get all the user list
0
 

Author Comment

by:Steveh24
Comment Utility
Ok did that and only found IUSR_QUESTSVR & IUSREXCH1 which are our two DC's, but no IUSR_FILESVR, it doesn't exist
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
Can you try one thing to test its out ??

use any Administrative username and password in their, or use administrator username and password

( you can change that username later on any time)

i just want to see if it works

so use administrator username and password in annynomous login

then resatrt iis then try
0
 

Author Comment

by:Steveh24
Comment Utility
I did find it, it is called Internet Guest Account IUSR_FILESVR
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
thats good, with that one , did it work ??
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:Steveh24
Comment Utility
Using the administrator username and password in annynomous login didn't make any difference, still being asked to login
0
 

Author Comment

by:Steveh24
Comment Utility
Nothing is working still being asked to login
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
its must of that issue....

have you checked permisison

wwwwrooot ?

0
 

Author Comment

by:Steveh24
Comment Utility
Why, why why does it keep asking for me to login when I have it set to use annynomous logins
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
i saw this error for a public serve,r where i had to give IUSR_FILESVR to read permission to that directory

0
 

Author Comment

by:Steveh24
Comment Utility
I'm not really sure what I'm looking for in wwwroot
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
right click on wwwroot folder
check permission

whats in the permission ??
do you hvae internetguest account and IUSR_FILESVR in their ??
0
 

Author Comment

by:Steveh24
Comment Utility
Yes, IUSR_FILESVR is there and I have given it Full control, but makes no difference, still being asked for a damn login
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
are you trying with firefox or internet exploer ??
0
 

Author Comment

by:Steveh24
Comment Utility
IE8
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
DAMM...

what about if you try to access the website via Ip

http://ipofyourserver/index.html

does it come ??
0
 

Author Comment

by:Steveh24
Comment Utility
Tried that before asking for help, no joy
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
read this

http://forums.iis.net/t/1150013.aspx

do you want to try by  configure IE to pass credentials by adding the site to the intranet zone in IE.
0
 

Author Comment

by:Steveh24
Comment Utility
sorry, think I've been confusing both of us, I've just tried the URL on my own pc and it goes straight to the web page "Hello World", so I checked the Laptop I was doing the test with and I've noticed that it is logged in as the Admin to the local machine so it's not part of AD, just logged in as Admin to the Domain and the test URL goes straight to the web page "Hello World"

Guess I need to go back and put everything back as it was and try and see if I can access the main Web Site, which is what I was originally tried, will ask for your help if I have problems, if not I will give u the points coz you have been very helpful.

Steve
0
 

Author Comment

by:Steveh24
Comment Utility
I think I have now got it working, but it's asking for the login credentilas twice, the first time for Username & Password, then it's asking for Domain/Username & Password.

How can I stop it asking for Domain/Username & Password
0
 

Author Comment

by:Steveh24
Comment Utility
I have noticed that if I use a PC connected to AD that the only login screen I see asks for Domain/Username & Password and then connects to the web page, but if I use a PC outside of AD I get the two login screens as described in my previous reply.
0
 

Author Closing Comment

by:Steveh24
Comment Utility
Found the problem, there was a setting in the Listener's Advnaced tab that allows authentication over http, when I ticked this, it all worked perfectly
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now