Re: Forms Authentication - Sudden Redirect Failure on Login



Any resolution to this issue? I have a similar problem: developing a
web app in VS 2005 using forms authentication. My dev box is win XP and
the app is in c#. Forms authentication used to work just fine on my dev
box. Recently, the login page is not redirecting to the return URL, and
I keep getting the login page back. I have a directory in the app with
all the pages that require login. The directory as well as the login
page are defined in web.config. Last version of the app is deployed to
a win2003 server is working fine there. Now, I can't deploy the latest
version until I fix forms authentication on my dev box and figure out
what's going on?

The code is very similar to Stephen's and the debug statements yield
similar values. Sounds like an environment issue but I can't figure out
what has happened. What do you guys think. Thanks, Khaled.


Luke Zhang [MSFT] wrote:
To confirm if this is .NET framework issue, you may first try to
re-register the ASP.NET on the server:

Aspnet_regiis -ua

and then:

Aspnet_regiis -i

For more details on Aspnet_regiis:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1
f74eac5-9005-4f91-9137-f63b73eefde8.mspx?mfr=true

And you also can try to repair the framework:

http://support.microsoft.com/?scid=kb;en-us;306160

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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.

.



Relevant Pages

  • Repeatable hard crash with 2.6.0.test[123]
    ... One application will reliably cause the system to crash when it exits ... This app worked fine and exited correctly ... the few changes needed to get the 2.kernels running. ... # ACPI Support ...
    (Linux-Kernel)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Authentication Sharing Across Apps
    ... For my part "B" question that I had (Login App was not returning ... authentication to calling app), I found the solution. ... Basically, in both the Login App and Calling App Web.Config, I did ... authenticated connection with SQL server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Login Security for Intranet/Internet application
    ... a standard intranet app. ... However, you may also want to support IWA authentication for internal users, ... if the application depends on Windows security ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Schannel and Session Renegotiation
    ... Schannel does not support the server sending app ... We are discussing the option of providing support for the client blowing off ...
    (microsoft.public.platformsdk.security)