IIS Authentication Problem

IIS Authentication Problem

am 30.07.2007 09:01:27 von philipp.bruening

Hello,

i have a Problem with my Web Server (Windows Server 2003 64bit).

When I try to call a website with the domain name like www.mysite.ext,
then the ie aks username and password, but when i call the site with
the ip or with localhost, it works.

I have activated only anonymous authentication (windows
authentification is not activated), and the anonymous user has enough
rights, the network service too.

The IIS is running in 32 bit mode.

I have searched for a solution, but i can't find anything.

Thanks for your help!


Philipp

Re: IIS Authentication Problem

am 30.07.2007 17:02:06 von Brent Magnant

On Mon, 30 Jul 2007 00:01:27 -0700,
philipp.bruening@crystal-design.com wrote:

>Hello,
>
>i have a Problem with my Web Server (Windows Server 2003 64bit).
>
>When I try to call a website with the domain name like www.mysite.ext,
>then the ie aks username and password, but when i call the site with
>the ip or with localhost, it works.
>
>I have activated only anonymous authentication (windows
>authentification is not activated), and the anonymous user has enough
>rights, the network service too.
>
>The IIS is running in 32 bit mode.
>
>I have searched for a solution, but i can't find anything.
>
>Thanks for your help!
>
>
>Philipp

As soon as you use the "." in the browser, it assumes the site is an
external site and does not try to authenticate. Put the URL into your
intranet secuurity zone and it should work. If not, there is another
setting to change.

The thing to remember is this is a browser issue, not a server issue.

Re: IIS Authentication Problem

am 30.07.2007 19:14:23 von Kristofer Gafvert

What is logged in the log file? What is the status code, substatus code
and sc-win32 status code?



--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


philipp.bruening@crystal-design.com wrote:

>Hello,
>
>i have a Problem with my Web Server (Windows Server 2003 64bit).
>
>When I try to call a website with the domain name like www.mysite.ext,
>then the ie aks username and password, but when i call the site with
>the ip or with localhost, it works.
>
>I have activated only anonymous authentication (windows
>authentification is not activated), and the anonymous user has enough
>rights, the network service too.
>
>The IIS is running in 32 bit mode.
>
>I have searched for a solution, but i can't find anything.
>
>Thanks for your help!
>
>
>Philipp

Re: IIS Authentication Problem

am 31.07.2007 08:11:20 von philipp.bruening

On 30 Jul., 19:14, "Kristofer Gafvert"
wrote:
> What is logged in the log file? What is the status code, substatus code
> and sc-win32 status code?
>
> --
> Regards,
> Kristofer Gafverthttp://www.gafvert.info/iis/- IIS Related Info
>
>
>
> philipp.bruen...@crystal-design.com wrote:
> >Hello,
>
> >i have a Problem with my Web Server (Windows Server 2003 64bit).
>
> >When I try to call a website with the domain name likewww.mysite.ext,
> >then the ie aks username and password, but when i call the site with
> >the ip or with localhost, it works.
>
> >I have activated only anonymous authentication (windows
> >authentification is not activated), and the anonymous user has enough
> >rights, the network service too.
>
> >The IIS is running in 32 bit mode.
>
> >I have searched for a solution, but i can't find anything.
>
> >Thanks for your help!
>
> >Philipp- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -


The status code is:
HTTP Error 401.2 - Unauthorized: Access is denied due to server
configuration.
Internet Information Services (IIS)

I think the problem is in the server configuration and not the
browser, but I hvae no idea where.

Re: IIS Authentication Problem

am 31.07.2007 08:40:11 von Kristofer Gafvert

IIS would not behave differently depending on if the domain name,
localhost or the IP address was used when it comes to this status code.
Are you sure the request gets to the same server and same websites?



--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


philipp.bruening@crystal-design.com wrote:

>On 30 Jul., 19:14, "Kristofer Gafvert"
>wrote:
>>What is logged in the log file? What is the status code, substatus code
>>and sc-win32 status code?
>>
>>--
>>Regards,
>>Kristofer Gafverthttp://www.gafvert.info/iis/- IIS Related Info
>>
>>
>>
>>philipp.bruen...@crystal-design.com wrote:
>>>Hello,
>>
>>>i have a Problem with my Web Server (Windows Server 2003 64bit).
>>
>>>When I try to call a website with the domain name likewww.mysite.ext,
>>>then the ie aks username and password, but when i call the site with
>>>the ip or with localhost, it works.
>>
>>>I have activated only anonymous authentication (windows
>>>authentification is not activated), and the anonymous user has enough
>>>rights, the network service too.
>>
>>>The IIS is running in 32 bit mode.
>>
>>>I have searched for a solution, but i can't find anything.
>>
>>>Thanks for your help!
>>
>>>Philipp- Zitierten Text ausblenden -
>>
>>- Zitierten Text anzeigen -
>
>
>The status code is:
>HTTP Error 401.2 - Unauthorized: Access is denied due to server
>configuration.
>Internet Information Services (IIS)
>
>I think the problem is in the server configuration and not the
>browser, but I hvae no idea where.

Re: IIS Authentication Problem

am 31.07.2007 09:37:48 von philipp.bruening

On 31 Jul., 08:40, "Kristofer Gafvert"
wrote:
> IIS would not behave differently depending on if the domain name,
> localhost or the IP address was used when it comes to this status code.
> Are you sure the request gets to the same server and same websites?
>
> --
> Regards,
> Kristofer Gafverthttp://www.gafvert.info/iis/- IIS Related Info
>
>
>
> philipp.bruen...@crystal-design.com wrote:
> >On 30 Jul., 19:14, "Kristofer Gafvert"
> >wrote:
> >>What is logged in the log file? What is the status code, substatus code
> >>and sc-win32 status code?
>
> >>--
> >>Regards,
> >>Kristofer Gafverthttp://www.gafvert.info/iis/-IIS Related Info
>
> >>philipp.bruen...@crystal-design.com wrote:
> >>>Hello,
>
> >>>i have a Problem with my Web Server (Windows Server 2003 64bit).
>
> >>>When I try to call a website with the domain name likewww.mysite.ext,
> >>>then the ie aks username and password, but when i call the site with
> >>>the ip or with localhost, it works.
>
> >>>I have activated only anonymous authentication (windows
> >>>authentification is not activated), and the anonymous user has enough
> >>>rights, the network service too.
>
> >>>The IIS is running in 32 bit mode.
>
> >>>I have searched for a solution, but i can't find anything.
>
> >>>Thanks for your help!
>
> >>>Philipp- Zitierten Text ausblenden -
>
> >>- Zitierten Text anzeigen -
>
> >The status code is:
> >HTTP Error 401.2 - Unauthorized: Access is denied due to server
> >configuration.
> >Internet Information Services (IIS)
>
> >I think the problem is in the server configuration and not the
> >browser, but I hvae no idea where.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Shame over me!

I had a false DNS configuration, the ip was false.
When I tested, I didn't copy and paste :)

Thanks a lot