credentials not going to IIS automatically
credentials not going to IIS automatically
am 14.11.2006 16:41:02 von thielen
Hi;
I am having a problem where IIS wants me to log in where IIS is on a Win
2003 server on the same domain as I am on on my workstation.
This is for an ASP.NET 2.0 app (that I am writing) set to use Windows
authentication. When running from VS 2005 using the integrated webserver, the
website knows who I am and I have zero signon.
But when I copy the website to IIS on Win2003 it pops up the dialog box
asking me to sign in. I enter my domain\username and password and then it all
works fine.
Why am I getting prompted for my uname/pw? The server is on the same domain
as is my workstation. Is there something I need to set on IIS so it asks IE
to automatically pass my credentials across?
My web.config is:
defaultProvider="AspNetWindowsTokenRoleProvider" />
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Re: credentials not going to IIS automatically
am 14.11.2006 21:20:57 von David Wang
Please give the exact URL that you use to access this web application
when it asks for password.
I suspect it looks like:
http://www.domain.com/WebApp.aspx
In which case your issue is with the browser not auto-authenticating
with the server. Once you configure authentication in IIS, IIS will
ALWAYS ask for credentials from the client. The question is whether the
client provides the credentials without prompting the user, and that
depends on browser configuration. Nothing IIS can do because that would
be a security flaw.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
David Thielen wrote:
> Hi;
>
> I am having a problem where IIS wants me to log in where IIS is on a Win
> 2003 server on the same domain as I am on on my workstation.
>
> This is for an ASP.NET 2.0 app (that I am writing) set to use Windows
> authentication. When running from VS 2005 using the integrated webserver, the
> website knows who I am and I have zero signon.
>
> But when I copy the website to IIS on Win2003 it pops up the dialog box
> asking me to sign in. I enter my domain\username and password and then it all
> works fine.
>
> Why am I getting prompted for my uname/pw? The server is on the same domain
> as is my workstation. Is there something I need to set on IIS so it asks IE
> to automatically pass my credentials across?
>
> My web.config is:
>
>
>
>
>
>
>
>
> defaultProvider="AspNetWindowsTokenRoleProvider" />
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
Re: credentials not going to IIS automatically
am 14.11.2006 22:05:01 von thielen
How can I set this to test? Because my same IE on the same system does pass
the credentials to the VS 2005 web server.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"David Wang" wrote:
> Please give the exact URL that you use to access this web application
> when it asks for password.
>
> I suspect it looks like:
> http://www.domain.com/WebApp.aspx
>
> In which case your issue is with the browser not auto-authenticating
> with the server. Once you configure authentication in IIS, IIS will
> ALWAYS ask for credentials from the client. The question is whether the
> client provides the credentials without prompting the user, and that
> depends on browser configuration. Nothing IIS can do because that would
> be a security flaw.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> David Thielen wrote:
> > Hi;
> >
> > I am having a problem where IIS wants me to log in where IIS is on a Win
> > 2003 server on the same domain as I am on on my workstation.
> >
> > This is for an ASP.NET 2.0 app (that I am writing) set to use Windows
> > authentication. When running from VS 2005 using the integrated webserver, the
> > website knows who I am and I have zero signon.
> >
> > But when I copy the website to IIS on Win2003 it pops up the dialog box
> > asking me to sign in. I enter my domain\username and password and then it all
> > works fine.
> >
> > Why am I getting prompted for my uname/pw? The server is on the same domain
> > as is my workstation. Is there something I need to set on IIS so it asks IE
> > to automatically pass my credentials across?
> >
> > My web.config is:
> >
> >
> >
> >
> >
> >
> >
> >
> > defaultProvider="AspNetWindowsTokenRoleProvider" />
> >
> > --
> > thanks - dave
> > david_at_windward_dot_net
> > http://www.windwardreports.com
> >
> > Cubicle Wars - http://www.windwardreports.com/film.htm
>
>
Re: credentials not going to IIS automatically
am 14.11.2006 22:43:33 von David Wang
It depends on the browser.
IE's auto-login feature is tied to the Zone that it classifies the
address.
http://namewithoutdots goes to Intranet zone which has autologin
http://name.with.dots goes to Internet zone whit does not autologin
//
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
David Thielen wrote:
> How can I set this to test? Because my same IE on the same system does pass
> the credentials to the VS 2005 web server.
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
>
>
>
> "David Wang" wrote:
>
> > Please give the exact URL that you use to access this web application
> > when it asks for password.
> >
> > I suspect it looks like:
> > http://www.domain.com/WebApp.aspx
> >
> > In which case your issue is with the browser not auto-authenticating
> > with the server. Once you configure authentication in IIS, IIS will
> > ALWAYS ask for credentials from the client. The question is whether the
> > client provides the credentials without prompting the user, and that
> > depends on browser configuration. Nothing IIS can do because that would
> > be a security flaw.
> >
> >
> > //David
> > http://w3-4u.blogspot.com
> > http://blogs.msdn.com/David.Wang
> > //
> >
> >
> > David Thielen wrote:
> > > Hi;
> > >
> > > I am having a problem where IIS wants me to log in where IIS is on a Win
> > > 2003 server on the same domain as I am on on my workstation.
> > >
> > > This is for an ASP.NET 2.0 app (that I am writing) set to use Windows
> > > authentication. When running from VS 2005 using the integrated webserver, the
> > > website knows who I am and I have zero signon.
> > >
> > > But when I copy the website to IIS on Win2003 it pops up the dialog box
> > > asking me to sign in. I enter my domain\username and password and then it all
> > > works fine.
> > >
> > > Why am I getting prompted for my uname/pw? The server is on the same domain
> > > as is my workstation. Is there something I need to set on IIS so it asks IE
> > > to automatically pass my credentials across?
> > >
> > > My web.config is:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > defaultProvider="AspNetWindowsTokenRoleProvider" />
> > >
> > > --
> > > thanks - dave
> > > david_at_windward_dot_net
> > > http://www.windwardreports.com
> > >
> > > Cubicle Wars - http://www.windwardreports.com/film.htm
> >
> >
Re: credentials not going to IIS automatically
am 15.11.2006 20:10:02 von thielen
that's it!!!
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"David Wang" wrote:
> It depends on the browser.
>
> IE's auto-login feature is tied to the Zone that it classifies the
> address.
>
> http://namewithoutdots goes to Intranet zone which has autologin
> http://name.with.dots goes to Internet zone whit does not autologin
>
>
> //
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> David Thielen wrote:
> > How can I set this to test? Because my same IE on the same system does pass
> > the credentials to the VS 2005 web server.
> >
> > --
> > thanks - dave
> > david_at_windward_dot_net
> > http://www.windwardreports.com
> >
> > Cubicle Wars - http://www.windwardreports.com/film.htm
> >
> >
> >
> >
> > "David Wang" wrote:
> >
> > > Please give the exact URL that you use to access this web application
> > > when it asks for password.
> > >
> > > I suspect it looks like:
> > > http://www.domain.com/WebApp.aspx
> > >
> > > In which case your issue is with the browser not auto-authenticating
> > > with the server. Once you configure authentication in IIS, IIS will
> > > ALWAYS ask for credentials from the client. The question is whether the
> > > client provides the credentials without prompting the user, and that
> > > depends on browser configuration. Nothing IIS can do because that would
> > > be a security flaw.
> > >
> > >
> > > //David
> > > http://w3-4u.blogspot.com
> > > http://blogs.msdn.com/David.Wang
> > > //
> > >
> > >
> > > David Thielen wrote:
> > > > Hi;
> > > >
> > > > I am having a problem where IIS wants me to log in where IIS is on a Win
> > > > 2003 server on the same domain as I am on on my workstation.
> > > >
> > > > This is for an ASP.NET 2.0 app (that I am writing) set to use Windows
> > > > authentication. When running from VS 2005 using the integrated webserver, the
> > > > website knows who I am and I have zero signon.
> > > >
> > > > But when I copy the website to IIS on Win2003 it pops up the dialog box
> > > > asking me to sign in. I enter my domain\username and password and then it all
> > > > works fine.
> > > >
> > > > Why am I getting prompted for my uname/pw? The server is on the same domain
> > > > as is my workstation. Is there something I need to set on IIS so it asks IE
> > > > to automatically pass my credentials across?
> > > >
> > > > My web.config is:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > defaultProvider="AspNetWindowsTokenRoleProvider" />
> > > >
> > > > --
> > > > thanks - dave
> > > > david_at_windward_dot_net
> > > > http://www.windwardreports.com
> > > >
> > > > Cubicle Wars - http://www.windwardreports.com/film.htm
> > >
> > >
>
>
Re: credentials not going to IIS automatically
am 16.11.2006 09:29:03 von wjzhang
Hi Dave,
All the details about IE and IIS auto login feature of Integrated Windows
authentication are clearly documented in the below article:
Internet Explorer May Prompt You for a Password
http://support.microsoft.com/?id=258063
Thanks.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.