Hi,
I've succesfully installed Umbraco 4.0.3 on WS 2008R2 and thus on IIS 7.5 with integrated pipeline.
I do however not seem to be able to login to the site as a member, the login page does correctly validate if the username / password is correct, but only reloads the login page instead of the protected page!
Does anyone have a working setup on IIS 7.5 ?? Or any insights into what might be wrong?
Best regards,
Michael
Modify your web.config, this line needs to include the hashed password attribute:
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="hashed" />
Hi Sebastiaan!
Thanks, but that does not seem to be the problem, as the login page correctly displays an error if username / password is incorrect.
If the login is correct it only reloads the page!
I have tried to add passwordFormat="hashed" to my web.config, and after changing the users password to make it hashed the problem persists.
Strange.. in that case, you should have a look in the umbracoLog table or the windows event log to see what kinds of errors or even exceptions are being thrown. Also, my screencast about installing Umbraco on IIS7.5/Integrated pipeline might help, maybe you missed something?
i had a issue with IIS 7.5 with extensionless urls. So it would work with "logMeIn.aspx" but not "logMeIn". Not sure if that helps.
UseDirectoryUrls + Login = login not working.
fix:
in the umbraco web.config change:
<modules>
to:
<modules runAllManagedModulesForAllRequests="true">
Yes indeed...
Nice screencast :)
There are no errors in the Windows event log, and in the umbracoLog table it shows that the it's opening the correct node - but it only reloads the login page.
Do you have a working website on IIS 7.5 with member protected pages using the built in control?
/Michael
I'm sorry, I misread! Thought you were trying to login to the backend.. never mind, try Arnold's solution, that sounds good! :-)
I tried to add <modules runAllManagedModulesForAllRequests="true">, but that didn't change anything...
you do use directory urls?
I'm not really sure, as I've only taken over the site to do the backend install on IIS 7.5 (I didn't code it...).
umbLoginMembership is being used as a usercontrol and being called by a macro.
I've also tried on a fresh install of 4.0.3 with NO usercontrols / macros. I just protected a page and made a login template see below, again only a blink and the page reloaded. But it does correctly parse if the username / password is correct, so that part works!
On the fresh install of 4.0.3 I also tried to add <modules runAllManagedModulesForAllRequests="true">, but here the problem also persists...