User has to login twice. Why??

From: Redeye (redeye_51_at_hotmail.com)
Date: 08/07/03


Date: Thu, 7 Aug 2003 13:45:09 -0700


Hello,

I am using windows forms authentication in my asp.net web application so
that it uses ADSI to validate users.

The application is in a virtual directory on my local system,
(http://Localhost/MyApp), and it makes the call to a domain server on our
network. Everything works great. When the application is on the deployment
server the user is required to login via the windows login (Pop-up) and then
once again via the login form.

The test environment:
------------------------------------------------------
IIS Authentication Methods: (Local Machine)
Anonymous access (unchecked)

--
Basic authentication(checked)
Digest authentication(grayed out)
Integrated Windows authentication(checked)
------------------------------------------------------
The deployment environment:
The application is in the root directory, (http://MyApp.com), and it makes
the call to a domain server on the network.
------------------------------------------------------
IIS Authentication Methods: (Deployment Server)
Anonymous access (unchecked)
--
Basic authentication(checked)
Digest authentication(checked) I have also tried it unchecked.
Integrated Windows authentication(checked)
------------------------------------------------------
What security settings need to be changed?
Here is the web.config file settings.
  <identity impersonate="true"/>
  <authentication mode="Forms">
   <forms loginUrl="logon.aspx" name="MyDomain" timeout="10" path="/" >
   </forms>
  </authentication>
  <authorization>
   <deny users="?" />
   <allow users="*" />
  </authorization>
Thanks,
Bryan


Relevant Pages

  • Re: User has to login twice. Why??
    ... That is the expected result when you use both Windows authentication ... allowing anonymous and unchecking all Windows auth settings. ... > the call to a domain server on the network. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Windows Authentication Problems
    ... I have successfully set my authentication to Windows and in Visual ... server as it is being used int he virtual directory ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: integrated Windows authentication failure
    ... access a virtual directory in the default Web site on a Windows XP Pro Web ... Both client and server are linked to a single router. ... integrated Windows authentication instead. ...
    (microsoft.public.inetserver.iis.security)
  • ActiveSync and 403
    ... I'm trying to get ActiveSync to work on my Windows 2003 R2 / Exchange ... I've now made sure that forms based authentication is switched off, ...
    (microsoft.public.pocketpc.activesync)
  • Help!! security and Windows Authentication
    ... i am stuck at a point, this is related to windows ... authentication and iis security. ... a securityapp in main virtual directory. ...
    (microsoft.public.dotnet.framework.aspnet.security)