Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / December 2005

Tip: Looking for answers? Try searching our database.

How to troubleshoot forms authentication?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bernadou - 30 Dec 2005 22:33 GMT
I am new to this concept after having written my own authentication code in
the past.  I'm now trying to get my brain around forms authentication in .net
2.0.  So far I'm finding it extreemly restrictive and difficult to implement.

I've gone through a VWD2005 walkthrough of creating a super simple forms
authenticated app.  All of a sudden (I'm not sure what I did, I was messing
around with stuff as an experement) it stopped authenticating.  I went back
into the ASP.NET config tool and deleted and re-added a test user, but it
won't authenticate the user (returns "attempt was not successful. Please try
again").

So, I start looking into the code and.... there isn't any!  How does one
start troubleshooting when there isn't anything to troubleshoot?

I've looked through TONS of posts, but, none of them seem to explain how you
could even begin figuring out what is wrong.  Can anyone help point me in the
right direction?

Thanks
Bernie
bernadou - 31 Dec 2005 01:34 GMT
So a follow up here...
When I look in my web.config file to see how the login controll knows what
db to use to authenticate against, there is nothing in the web.config file to
tell it what to do.  How does ASP.NET know where to authenticate against?  
Shouldn't that setting be somewhere in the web, either in source code of XML
config?

The whole authentication process seems to be hidden.  Where/how can you
debug this if you have nothing to work with?  

B

> I am new to this concept after having written my own authentication code in
> the past.  I'm now trying to get my brain around forms authentication in .net
[quoted text clipped - 16 lines]
> Thanks
> Bernie

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.