Weird issue with Login Control and Authentication



Quick background on what I'm using:

Visual Web Developer 2005
SQL Server Express 2005
Hosted on my local machine (this is just a "get used to 2.0" test
website)

I have created the membership (?) schema in my existing Express 2005
database. That has went well. I have two users in that database, both
assigned to the role, "Administrators".

I have a login control inside a user control that is either persistent
across the pages (via Master Page) or in a Login.aspx page. Now here
is where the weirdness kicks in. If I go into debug mode from VWD and
attempt to login, everything works just fine. However, if I go to that
website directly via "http://localhost/"; (I have IIS pointed to that
folder), the rest of the website works great, but no matter how many
times I try and with what user accounts I try with, I get the standard
"Your login attempt was not successful. Please try again." message the
Login Control kicks back out to you.

I've checked the database and it is not recording login attempts while
this is happening. It has me going bonkers! Any ideas?

.



Relevant Pages

  • Re: Weird issue with Login Control and Authentication
    ... I have two users in that database, ... I have a login control inside a user control that is either persistent ... website directly via "http://localhost/"; (I have IIS pointed to that ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Password changing in aspdbnet db
    ... + password in the login control will result in a login error without the app ... However the ChangePasword login control works fine (and profiler ... shows the database connections being made). ... The app is using SQL 2005. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: User IDs
    ... I named it login (if you can't tell I'm an Access newbie). ... prior posts which directed me to the following website. ... I copied and pasted this into a new module for my database but it doesn't ...
    (microsoft.public.access.macros)
  • Re: newbie: simple login page
    ... i'm trying to write a simple test login page which will provide login ... i get the error message "The SSE Provider did not find the database ... file specified in the connection string.". ... How do you make the login control use the info in the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • newbie: simple login page
    ... i'm trying to write a simple test login page which will provide login ... i get the error message "The SSE Provider did not find the database ... file specified in the connection string.". ... How do you make the login control use the info in the ...
    (microsoft.public.dotnet.framework.aspnet.security)