Questions tagged [sqlmembershipprovider]

The `SqlMembershipProvider` class is used by the `Membership` and `MembershipUser` classes to provide membership services for an ASP.NET application using a SQL Server database.

The SqlMembershipProvider class is used by the Membership and MembershipUser classes to provide membership services for an ASP.NET application using a SQL Server database.

System.Object
. System.Configuration.Provider.ProviderBase
. . System.Web.Security.MembershipProvider
. . . System.Web.Security.SqlMembershipProvider

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)

To manually create the database, run the Aspnet_regsql.exe executable found in the %systemroot%\Microsoft.NET\Framework\ versionNumber folder and specify the -A m option (for example aspnet_regsql.exe -A m). The database created is called Aspnetdb. Alternatively, run Aspnet_regsql.exe to pull up the GUI configuration mode and choose to configure all ASP.NET Features.

http://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider(v=vs.110).aspx

201 questions
0
votes
1 answer

Does anyone have experiencing changing the hashing algorithm used by the membership provider for a DNN instance

By default the membership provider in DNN uses SHA1 as the hashing algorithm. SHA1 is considered to be less secure so I'd like to change it to something which is more secure (if possible). Up until now I've not been able to find any DNN specific…
0
votes
1 answer

How To Add MVC3 SqlMembershipProvider With SQLCE4

I'm not quite sure if this has been asked or discussed elsewhere but I'm trying to implement the SqlMembershipProvider but I also want to use SQLCE4. I feel that having to have not only two databases but having two separate "server" systems drive…
clockwiseq
  • 4,189
  • 9
  • 38
  • 61
0
votes
0 answers

Detecting login - SQLMembershipProvider

I'm using ASP.Net MVC Authentication, SqlMembershipProvider to be specific. I have a website that has multiple login forms across the site. Some of which do not have controllers that I am exposed to (as the login pages are part of closed source…
0
votes
2 answers

Porting Active Directory Authentication to use SQL Membership Provider

I'm looking at moving my application from using active directory membership provider to using sql server provider. The main hiccup we are looking at is no being able to retrieve the user passwords from AD. Does anybody have any ideas? Anybody…
Ryu
  • 8,641
  • 10
  • 65
  • 98
0
votes
1 answer

Use existing aspnet membership schema with new ASP.NET MVC database first

I'm looking for some guidance here... I have an old ASP.NET webforms site with an existing database and SQL Server membership, and I'm creating a new interface using ASP.NET MVC and Entity Framework with a database-first approach. So I have tables…
0
votes
1 answer

MembershipProvider validation fails after password change

I am using an SQLMemberShipProvider. When I enter my username and password the following code is executed membershipProvider.ValidateUser(myUserName, myPassword) and returns true indicating that the user is valid. I reset the password with the…
p0enkie
  • 665
  • 2
  • 11
  • 22
0
votes
2 answers

Reading ASP hashed password in PHP

I am working on a new PHP project that uses an exist database created for ASP.NET. I can't reach the ASP source code, so I don't know how the passwords are hashed. All I need is a way to compare users logins from PHP to the stored password in…
Dohab
  • 439
  • 5
  • 15
0
votes
0 answers

SQL Membership show account is locked

I have tried for a couple of hours to check whether the user account is locked or not since Membership.GetUser(Login1.UserName) always returns null. Here is my code where I check the value in "OnLoginError" method: protected void…
Mariam
  • 37
  • 1
  • 7
0
votes
2 answers

get users password and email it in asp.net mvc

Im using an asp.net mvc 3 project. I want to be able to email a users password to them if they submit their username in RecoverPassword page. How can i do that? Thanks
raklos
  • 28,027
  • 60
  • 183
  • 301
0
votes
1 answer

Manage users in SQLMembershipProvider on website migrated to Azure

I migrated a site to Azure that had run on SqlMembershipProvider for years. Whenever we needed to manage a user we used the Website Administration Tool (WSAT) in Visual Studio 2005 that was installed on the server. It seems that WSAT was removed…
0
votes
1 answer

Configuring SQL Membership with MVC 5

I have an existing site in Sitecore 7.2. I would like to move the site out of Sitecore and into a new MVC 5 project. I would like my users to be able to use their existing credentials. It seems to me, from the database scheme, that Sitecore is using…
Alex
  • 1,681
  • 2
  • 11
  • 18
0
votes
1 answer

ASP.NET MVC membership login for different domain

I am using one membership database for different domain. When I login in one domain, I want to automatically also perform a login for different domain in same browser.
0
votes
1 answer

How can I use current user (default membership) as a data field in DetailsView?

I am new to asp.net. I have a details view control on my page. I use linq to sql. My details view is an admin panel for data entry page. So some members will enter some news to my database. I want to use "Writer" Data Field to be filled automaticly…
egiray
  • 1,169
  • 1
  • 12
  • 17
0
votes
2 answers

SqlMembershipProvider question

When you create the Register Control for the SqlMembersipProvider nothing happens if they register and the username or email is in use. Is there a tutorial or override function that fixes this in asp.net 2.0
ONYX
  • 5,679
  • 15
  • 83
  • 146
0
votes
1 answer

Silverlight 4 Out of Browser error

Using the Silverlight 4 WCF RIA services works just fine via web page. After installing it as an Out Of Browser application, there is a blank screen then an error comes up saying "Load operation failed for query 'GetUser'. The HTTP request to…
Rob Koch
  • 1,523
  • 3
  • 18
  • 26