IIS6 Windows Server 2003 GetRedirectUrl returns me back to login

Discussion in 'ASP .Net Security' started by David Dixon, Nov 10, 2006.

  1. David Dixon

    David Dixon Guest

    Having a small issue using my ASP.NET 2.0 app on a new Windows Server 2003 R2
    / iis 6.

    I have done some forms authentication using Active Directory, when the user
    has logged in correctly I do a Redirect:
    Response.Redirect(FormsAuthentication.GetRedirectUrl(txtUserName.Text,
    false));

    This works on the server when running in http://localhost/MyApp but when I
    enter the server path http://server/MyApp every time I login it passes but
    just takes me back to the login screen.

    I have developed this on my Windows XP Pro SP2 machine using VS2005 and can
    run it in localhost and http://devmachine/MyApp with no problems.

    I am pretty sure that it's something to do with security of the ASP.net
    application or the iis security so I have already tried entering
    Administrator login details into the <identity impersonate="true"
    userName="Adminstrator" password="******"/> but still no joy.

    Any pointers would be a great help.

    David
     
    David Dixon, Nov 10, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sandeep pandit via .NET 247
    Replies:
    0
    Views:
    1,007
    sandeep pandit via .NET 247
    Apr 28, 2004
  2. Raymond
    Replies:
    3
    Views:
    5,855
    jaya j
    Jul 2, 2004
  3. =?Utf-8?B?RGFtb24gUm9iZXJ0cw==?=

    Win 2003 Server / IIS6 / Server Application Unavailable

    =?Utf-8?B?RGFtb24gUm9iZXJ0cw==?=, May 17, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    8,127
    =?Utf-8?B?Y21zMTIz?=
    Jun 23, 2005
  4. =?Utf-8?B?TWFydGlu?=
    Replies:
    0
    Views:
    884
    =?Utf-8?B?TWFydGlu?=
    Aug 3, 2006
  5. Rafi
    Replies:
    0
    Views:
    237
  6. Peter Bernhardt
    Replies:
    1
    Views:
    255
    Hernan de Lahitte
    Jan 14, 2004
  7. Brian Adkins
    Replies:
    1
    Views:
    365
    Brian Adkins
    Feb 24, 2004
  8. Joe

    ASP on IIS6 Windows 2003 Server

    Joe, May 28, 2007, in forum: ASP General
    Replies:
    1
    Views:
    257
Loading...