All of a sudden a site that I maintain has stopped allowing members to login to the front end of the website. The page has a standard login control and was working fine with no recent updates, now when you attempt to login to the restricted area of the site the page just refreshes. I have checked the logs and see nothing in there related and as no exceptions are being thrown I am a bit stumped as to where the issue is.
If it helps pinpoint the problem , I have just found this thread which led me to check the trace and I have the same issue "No member with loginname exists", I am using Role based protection on the node...
Sorry to bump this up but in case it was missed does anyone have an further ideas? Currently stuck with a site that has 3000+ members and no access to the members area.
I've had a quick look in the source code and it seems the member name is sent in as blank.
HttpContext.Current.Trace.Warn("No member with loginname: " + loginName + " Exists");
Any chance you could make a copy of it and replicate the problem on your own machine? As this message is only printed two places in the application it should be fairly easy to figure out if you can attach a debugger one way or another.
Thanks for the pointer, I am establishing an exact copy of the site on my local machine and hopefully the issue will be replicated. I will let you know how I get on.
Is this login page publicly accessible? If so, let us know what the URL is so we can do a view source and check your form is ok. Also do the Umbraco debug switches currently work on the live site?
Update: The issue does not occur locally and as nothing had changed on the site when this happened I can only think that something had changed on the server perhaps as part of a security update. Chris I can send you the login page via twitter as I don't want to get the url indexed in the forum post and will enable debug mode.
Update: An upgrade to 4.0.3 made no difference. Confusingly what I have found is that if the "Remember Me" box is not ticked I am able to login, but to confuse issues further if the "Remember Me" box is removed from the page the problem returns so I think there is a deeper issue here. I would appreciate hearing from anyone else that uses member protected pages on their v4.0.x site on IIS7 and if they have similar problems.
I also recall having to first manually remove any existing cookies from my machine that related to this site and then with the web.config change I was able to login again.
Member Login Stopped Working
All of a sudden a site that I maintain has stopped allowing members to login to the front end of the website. The page has a standard login control and was working fine with no recent updates, now when you attempt to login to the restricted area of the site the page just refreshes. I have checked the logs and see nothing in there related and as no exceptions are being thrown I am a bit stumped as to where the issue is.
Any ideas appreciated.
The site is running on 4.0.2.1
If it helps pinpoint the problem , I have just found this thread which led me to check the trace and I have the same issue "No member with loginname exists", I am using Role based protection on the node...
http://our.umbraco.org/forum/developers/api-questions/4629-No-member-with-loginname--Exists---In-IIS7
Here is a relevant part of the trace:
I have made the change in the web.config:
As advised here http://our.umbraco.org/forum/developers/api-questions/4207-Member-login-won't-work?p=1
and still no luck.
Sorry to bump this up but in case it was missed does anyone have an further ideas? Currently stuck with a site that has 3000+ members and no access to the members area.
Hi there,
I've had a quick look in the source code and it seems the member name is sent in as blank.
Any chance you could make a copy of it and replicate the problem on your own machine? As this message is only printed two places in the application it should be fairly easy to figure out if you can attach a debugger one way or another.
Thanks for the pointer, I am establishing an exact copy of the site on my local machine and hopefully the issue will be replicated. I will let you know how I get on.
Hi Simon,
Is this login page publicly accessible? If so, let us know what the URL is so we can do a view source and check your form is ok. Also do the Umbraco debug switches currently work on the live site?
Cheers,
Chris
Update: The issue does not occur locally and as nothing had changed on the site when this happened I can only think that something had changed on the server perhaps as part of a security update. Chris I can send you the login page via twitter as I don't want to get the url indexed in the forum post and will enable debug mode.
Update: An upgrade to 4.0.3 made no difference. Confusingly what I have found is that if the "Remember Me" box is not ticked I am able to login, but to confuse issues further if the "Remember Me" box is removed from the page the problem returns so I think there is a deeper issue here. I would appreciate hearing from anyone else that uses member protected pages on their v4.0.x site on IIS7 and if they have similar problems.
Hey--have you figured out this issue yet? I am having the same problem.
I think what it came down to in the end was actually the following section of the web.config that by default looks like this:
I modified it to how it was before the upgrade:
I also recall having to first manually remove any existing cookies from my machine that related to this site and then with the web.config change I was able to login again.
Hopefully this is of some help to you.
Any solution to this yet, tried everything described here and at related posts
I get the same, No member with loginname: Exists error message
I wonder how this error suddenly can appear from out of nowhere...
Anybody?
is working on a reply...