Question

I have an issue with one of our web applications, the application uses the Membership framework and users are failing to login with IE11.

When users try to post back the login page IIS throws an internal server error 500 and doesn't show a .NET error (only happens in IE11)

at this point these are the things i have observed.

  1. Fails only on IE11 (works on other IE versions and chrome, firefox)
  2. IE11 seems to be redirecting the url to a cookie-less url like

https://www.example.com/(F(_QRiE7bzmjONkmbTY4ak8E_kE_hi_Jft4S9iVO4qsL6G4noS4-o5Ry6wjvE3VblzcOAHcHy4C_9Zy2XPfASI1KtPo7f_jHpJWFnjyZqySKX8CsYdQC198Gzw3bVYng6ChGSx0Lq8SViCyN8F2H0c2MwjB4-uet0AeHIDjOo0wsWOv3sgf2s28cqdnqq6Eqks2BVP-Q2))/route?aspxerrorpath=/route

  1. We are running iis 7.0 on Windows 2008 DataCenter Edition
  2. Application pool is running on .NET version 4.0

Any help would be highly appreciated!

Was it helpful?

Solution

The issue was rectified by setting the cookieless="UseCookies" attribute on the authentication section of the web.config

   <authentication mode="Forms">
      <forms name=".ASPXFORMSAUTH" path="/" loginUrl="~/Account/Login" timeout="15" cookieless="UseCookies" xdt:Transform="Replace"/>
    </authentication>

The specific issue is due to IIS 7.0 not recognizing IE11 and sending a cookie less response to the browser resulting in the Url mentioned in the question,

Microsoft should rectify this in IIS 7.0 in an update.

Further information available in this discussion

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top