Link to home
Start Free TrialLog in
Avatar of nightshadz
nightshadzFlag for United States of America

asked on

ASP .NET project moved to IIS7 breaks login page

An ASP .NET project was migrated to IIS7 on Windows Server 2008. It uses the ASP .NET Membership Provider for authenticating users.

Whenever I navigate to the Login.aspx page, it now appends "?ReturnUrl=%2fIMS%2fLogin.aspx". See below.

http://s900e229/IMS/Login.aspx?ReturnUrl=%2fIMS%2fLogin.aspx should just be http://s900e229/IMS/Login.aspx like it was on the old server.

As a result, it is making users log in twice and is also causing some web services to fail. Any help is much appreciated!
Avatar of nightshadz
nightshadz
Flag of United States of America image

ASKER

The below screenshot is from a fiddler trace showing how it's working in IIS7 (lines 19, 20 and 21) compared to the old server (lines 23 and 24).

User generated image
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks! While this article wasn't the solution, the comments led me in the right direction. It was changing a setting in the application pool for managed pipeline mode: Classic.