asp.net-membership

Why does asp.net membership have a users table and a membership table?

I am just wondering why they split up the users stuff into 2 tables. Like they got aspnet_ membership and aspnet_users. Is it just because the membership stuff they have is so long? ...

TelerikProfileProvider with custom Membership Provider

I've setup two membership providers: my custom provider and the Sitefinity provider. My custom membership provider is set as the default. I want to use Sitefinity's Profile provider for both sets of users. However, the profile provider only seems to work for the users that I pull out of the Sitefinity membership provider. After pokin...

Pulling User Account info in asp.net/c#

Hi, I'm relatively new to asp.net and c#, but have learned a ton in the past few months. My question probably has a relatively simple solution, but it's escaping me. I currently have a site setup with user registration and authentication through the standard asp.net membership tables. I'm trying to create a "My Account" page that use...

Cookie and Membership problem in asp.net Mobile web application

Hi to all, I just develop an asp.net portal site and it using asp.net membership provider. I decide to develop mobile version of it. but problem with cookie. I test my site on windows mobile 5 and 6 that know support cookie.but after login, cookie lost and thereupon membership info lost because it using cookie. I just change web.conf...

Default Values on DetailsView Insert

When users go to a specified page, I have a DetailsView attached to a SqlDataSource and already setup in Insert mode. I'm essentially using it as a registration page for certain events. Rather than having the users type in their "UserName", I want that field to automatically populate based on that user already being logged in. Does an...

ASP.NET MVC and ASP.NET membership provider - Handle authentication globally

Hi, I'm building a small app with ASP.NET MVC and I'm using the ASP.NET membership provider for handling users. Hooked this up to the login page of the basic MVC template. What is the best practice for checking a valid authentication globaly? I basically want to redirect to the front page or the login page if the user's not authenticat...

import users to ASP.NET membership from a file

I have a site using ASP.NET membership. I also have an excel file with about 60 user records. How can I import the records into the membership database, without having to type all 60 into the ASP.NET Web Site Administration Tool. Thank you ...

asp.net web admin tool custom database

Hi all, I am stuck into a problem here and need a hint from someone. I am using my own SQL Server database for managing users and roles (as opposed to aspnet DB). It was working fine until I added some custom fields to the aspnet_membership table. After doing so, I cannot create a new user through the asp.net web administration tool. Th...

Hashed passwords and PasswordRecovery control

Hi 1) firstUser was created when membership module had requiresQuestionAndAnswer set to false, while secondUser was created when requiresQuestionAndAnswer was set to true. If we try to recover pwd via PasswordRecovery PR control and we set requiresQuestionAndAnswer to true, then PR doesn’t email password to firstUser, but it does t...

Forms authentication List ApplicationNames

Setup: Multiple web servers with synchronized forms authentication. Multiple asp.net Applications running on these severs. What's working: SSO across all servers Authorization using asp.net roles What's not so good: All roles are "global" - I have "admin-app1" and "admin-app2" etc. Question: I know this can be solved by defi...

aspnet_regsql.exe and MVC

Can someone explain what aspnet_regsql.exe is really used for? When I create a standard ASP.NET MVC project in VS2008 and register a user, I get the db created with corresponding asp.net membership tables etc. This uses the SQL Server Express 2005 as standard. The forums I have found states that aspnet_regsql.exe is used when one is m...

Am I going about this the wrong way?

This is my first MVC/Linq to SQL Application. I'm using the out of the box SQL Membership with ASP.NET to track users through my system. As most of you know, the UserId is a guid, great. However, to link other user-created tables in the system, I decided to go with username instead of userid. The reason I did this was because: Use...

Race conditions with Umbraco Membership provider?

Has anyone ever encountered any race conditions with Umbraco's membership provider? Currently I'm seeing an issue where if I click on a LoginStatus control to log out immeadiately after signing in, it takes two clicks to officially log out, but if I wait a period of time after logging in then the LoginStatus control allows me to log out ...

Does CreateUserWizard call FormsAuthentication.SetAuthCookie?

Hi 1) I assume that when CreateUserWizard.LoginCreatedUser is set to true, the control calls FormsAuthentication.SetAuthCookie, which in turn creates an authentication ticket (I’m pretty certain that the control doesn’t call FormsAuthentication.RedirectfromLoginPage ) 2) From MSDN: When the LoginCreatedUser property is set to t...

How many users can a 200mb ASP.NET membership database hold?

I just purchased an unlimited shared hosting windows account on godaddy with 2 databases only to realise that they have a 200mb limit on SQL Server databases. My website uses the automatically generated ASP.NET 2.0 membership database. The nature of my website (free classifieds) requires the storage of a significant number of users. Sin...

ASP.net Membership - adding a role

I need some advice whether it is recommended to add a membership role to a web application after the web application has been deployed and is in use. The problem with this is that the role is created through the ASP.NET web site admin tool and automatically updates the ASPNETDB database. The ASPNETDB database in the live environment ...

SQL Server Express backup restore not working for asp.net membership

I am backing up a SQL Server Express database and then restoring on another machine. For some reason the asp.net membership data is not getting transferred. Do I need to do something different. Does ASP.NET membership data not get backed up? ...

ASP Login control does not work inside a Sitecore 6 sublayout

In Sitecore 6, I have created a sublayout that has an asp:login control. For some reason, it doesn't work when I add it to the layout of a page. The page simply posts back, but doesn't log me in. I made a stand alone .aspx with a login control and it works fine. So the problem is not with the membership system. My guess is it has so...

Validating hashed aspnet-service passwords programmatically

I have a website of which I am migrating membership from aspnet services to a custom provider. I would like to migrate existing users without them needing to change their passwords. The users passwords are currently stored using a one-way encryption. The only option for me is to use the same salt and passwords that asp services and val...

Can't get a custom Membership Provider to work with Sitecore 6.

I followed the directions in the Membership Providers document provided by Sitecore, but I was unable to get my membership provider to work correctly. Specifically, in the web.config, I changed the "realProviderName" attribute on the sitecore provider to point to my provider. However, this didn't do anything. I realized that the "def...