LoginView and LoginStatus

J

jsqrd

Can anyone tell me me if the two subject controls work when using a
SQL Server database as opposed to a SQL Server Express instance? If
so, what's the trick to making it work?

I have the role manager and membership provider in the web.config file
and can acknowledge I can create users. Additonally, I suspect the
user is granted access since the login control ports me to the default
page after login.

Thanks in advance for your help.
John
 
B

bruce barker

change the connection string and create the database on the sqlserver
(see aspnet_regsql.exe).


-- bruce (sqlwork.com)
 
J

jsqrd

change the connection string and create the database on the sqlserver
(see aspnet_regsql.exe).

-- bruce (sqlwork.com)

I already did that and I suggest it's working fine.

I say that because I generated a simple users.aspx page, added a
GridView control with an associated SQLDataSource control and can
validate the users access via the "LastLoginDate" from the
MembershipUsers table.

I would think the controls should include some reference to the
provider but cannot find documentation to support that theory.

Any other ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top