473,379 Members | 1,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

LoginView and LoginStatus

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

Mar 18 '07 #1
2 2266
change the connection string and create the database on the sqlserver
(see aspnet_regsql.exe).
-- bruce (sqlwork.com)

jsqrd wrote:
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
Mar 18 '07 #2
On Mar 18, 7:33 pm, bruce barker <nos...@nospam.comwrote:
change the connection string and create the database on the sqlserver
(see aspnet_regsql.exe).

-- bruce (sqlwork.com)

jsqrd wrote:
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
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?

Mar 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: RedEye | last post by:
Hello, I have been looking for a way to add roles to a LoginView control programmatically and it's not working. I have called the sub at init and load and neither work. Does anyone know what I...
1
by: frolda | last post by:
Hi, I moved my login.aspx page from root to a subdirectory and made -hopefully- all necessary changes for all Login controls. All the controls work just fine, except one. To my regret, the...
1
by: Phil | last post by:
I have gridview with a templatefield in which is a loginview. The loginview displays a delete linkbutton for a specified group only. when a record is delete the loginview displays the contents of...
3
by: Dan Sikorsky | last post by:
How do you get a reference to the LoginStatus control contained in the LoginView control that resides on web.master? I need to determine if the LoginStatus will show a LogOut link(for a logged...
2
by: Jeff | last post by:
hey asp.net 2.0 I've placed a LoginStatus control on a master page (so I don't need to have it on every webpage) in my project. When I click on this control to logout, I get this error: A...
3
by: =?Utf-8?B?am1obWFpbmU=?= | last post by:
When I put asp controls inside the LoginView it removes the codebehind references so that the page will not build. For example: <asp:LoginView ID="LoginView" runat="server" > <LoggedInTemplate>...
2
by: Josh Nikle | last post by:
Is it possible to change the default "Log In" link of the LoginView control to say "Sign In" instead? I apologize if this is a stupid question, but I'm finding my newb status in this area is...
1
by: Morgan Cheng | last post by:
I tried to add a LoginView control in OnClick eventhandler of a button. The code is like below LoginView login = new LoginView(); PlaceHolder1.Controls.Add(login); After run the page, I...
0
by: helveticus | last post by:
I am struggling to allow a LoginStatus control reflect its changed state when embedded in a cached page. All pages in my app share a common login user control that basically consists of a...
2
by: Jeff | last post by:
Hey ASP.NET 2.0 I'm about to start programming a new website at work. My boss want's me avoid using the Membership system in ASP.NET 2.0 (probably because he don't understand how it...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.