I have several web applications running on Windows Server 2003 with IIS 6.0.
Applications run under Asp.net 2.0.
I recently installed the MVC 3 web application, which is located on it based on asp.net 4. The form ticket is not reconstructed in this new application.
I have the same machineKey parameters in machine.config files of different asp.net versions that were created using this link: http://aspnetresources.com/tools/machineKey
The configuration in the login web application is as follows:
<authentication mode="Forms"> <forms name=".WEBAUTH" loginUrl="login.aspx" protection="None" slidingExpiration="true" enableCrossAppRedirects="false" timeout="43200" path="/" /> </authentication>
And, accordingly, the configuration of the mvc application:
<authentication mode="Forms"> <forms name=".WEBAUTH" loginUrl="http://path2theloginapp/login.aspx" protection="None" slidingExpiration="true" enableCrossAppRedirects="false" timeout="43200" path="/" /> </authentication> <authorization> <deny users="?" /> <allow users="*" /> </authorization>
The login works, but the mvc application is always redirected to the login page.
Now, if I change the version of the asp.net login web application in the IIS configuration for asp.net 4.0, it works. But then all other applications running on asp.net 2 no longer work.
Has anyone decided to use form-based support in a similar situation?
ms007 source share