Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 15, 2009 01:41 AM by mytonytiger
Jul 17, 2008 03:38 PM|LINK
also another possobility is that somebody tries unsucesfull atempts to login on your server does locking the account? Maybe some bots? Maybe a good idea to add some captcha image to the login form...
Jul 17, 2008 03:59 PM|LINK
Thanks much for helping me out here & quick response!
How can I unlock the psswd. as you said it gets locked out after no. of attemps?
here is the web.config file copied
Jul 23, 2008 02:28 AM|LINK
Version Information: Microsoft
.NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
Jul 23, 2008 02:49 AM|LINK
Could you please help me! I am getting the following error mssg. on run
at Login_aspx.PasswordRecovery_Init(Object sender, EventArgs e) in C:\Users\shaikh\Documents\Visual Studio 2008\WebSites\zzzzzz\Login.aspx.vb:line 25 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.WebControls.PasswordRecovery.OnInit(EventArgs
e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Jul 23, 2008 05:08 AM|LINK
I am just starting out like you, but here is what makes sense to me.
There is obviously an error in line 8 of your code.
The error seems to be caused because you are trying to login as an administrator, but you do not have administrative privleges. You then try to re-create the administator account in line 8, but I do not believe it would be possible to just recreate that
SQL cannot allow you to connect, so the session Timeout.
Please join me in your path to learn development!
Jul 23, 2008 05:09 AM|LINK
The error is in line 25 of you code, fix the problem, and then tell me how its done at this website:
Jul 23, 2008 05:14 AM|LINK
I apologize, I did not realize that both posts were relevant.
I noticed something else in your code.
I do not know if they tie in together, but you are allowing roles as administrators, but then denying users "*". If they are relevant to each other, then the more restrictive permissions would go into affect.
Once again, I am no expert, and you quite possibly have a better understanding than myself.
Jul 23, 2008 05:15 AM|LINK
I have another question:
What is in line 25 of your code?
Jul 25, 2008 02:01 PM|LINK
Both your issues are related, the password recovery, and the timeout.
Basically, asp.net sites use an application pool, and if there is a lot of activity when loaded, it will load incorectly.
And you'll get those errors.
I get that error all the time on my local computer, and very rare online.
When it happens locally, just stop the "ASP.NET Developent Server" (little icon that pops up next to the clock)
And load it again, and nothing else until loaded.
After no activity on your site, usually for a few hours, most host servers will remove your application pool,
which when loaded again usually takes 10-30 seconds, if loaded incorectly you could have errors.
What I have found that works for me is open a major file, such as App_Code/BLL/Ads.vb
and you need to make it new, so delete any letter, and then type it back in.
That way it's changed, but really the same.
Upload it, and go to your site.
It should fix the issue.