none
IIS6 and IIS7 in same WebFarm RRS feed

  • Question

  • ASP.Net Website.

    ASP.Net Forms Authentification Membership

    If I login on the Windows 2003 Server with IIS6 and get my Authentification, I can't go to the same pages on the Windows 2008 Server with IIS7.

    A couple of Notes.

    1. I have the same Self Generated Machine Key in all Web.config files on all Servers

    2. I have no problem going between Windows 2003 Servers using the login generated on any other Windows 2003 Server in the Farm

    3. Only when I go to one of the New Windows 2008 Servers to I get redirected to the Login Page and have to Relogin.

    4. I have tried both Classis ASP.Net and Default on the Windows 2008 Server

    5. Have tried Setting the Machine Key at the Server Level as well as the Application Level on the Windows 2008 Server

     

    ERROR MESSAGE in WINDOWS 2008 Server Logs

    Event code: 4005

    Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.

    Event time: 12/29/2010 7:23:32 AM

    Event time (UTC): 12/29/2010 3:23:32 PM

    Event ID: 3b689f304ac24298a552a1dc5c9a8e7a

    Event sequence: 2

    Event occurrence: 1

    Event detail code: 50201

     


    Z
    Wednesday, December 29, 2010 4:44 PM

All replies

  • We have a similar issue but with IIS 7.0 vs IIS 7.5.

    All servers were running Windows 2008 with IIS 7.0, we've upgraded one of them to Windows 2008 R2 with IIS 7.5 (both targeting .NET 2 still). Same app on both servers, we use a manually generated machine key and session state is held in a SQL database. However when trying to use the app if the load balancers move us between servers during normal usage we are logged out with following error in the windows event log.

    Event code: 4005
    Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
    Event time: 8/04/2011 10:27:19 a.m.
    Event time (UTC): 7/04/2011 10:27:19 p.m.
    Event ID: 95bda03388a146cfb1026508e3d1435d
    Event sequence: 8325
    Event occurrence: 66
    Event detail code: 50201

    There are plenty of articles on the web with that error code/description and we believe we have met all requirements for the setup in a load balacned environment, if anyone has any ideas interested in hearing them.

    MD

     

    Monday, April 11, 2011 9:14 PM
  •  

    please, can you tell me If you solve it?

    we upgrade our windows 2008, but nothing! we can't autenthicate between IIS6 & IIS7 on the same webFarm with Form authentication mode.

    thanks!!

    Tuesday, October 25, 2011 10:56 AM
  • Do you get any more information in the IIS log files? Any special 500 error?
    Tord Glad Nordahl | Bouvet ASA | Norway http://www.BizTalkAdmin.com Please indicate "Mark as Answer" if this post has answered the question.
    Thursday, October 27, 2011 10:06 AM