asp.net-membership Questions
23
Solved
I am using Membership.create user function, then the following error is occurring,
The required anti-forgery form field "__RequestVerificationToken" is
not present
How can I fix this?
Darrick asked 19/4, 2013 at 10:52
4
Solved
I am currently storing normalized versions of strings in my SQL Server database in lower case. For example, in my Users table, I have a UserName and a LoweredUserName field. Depending on the contex...
Trott asked 21/4, 2009 at 17:32
10
Solved
Is it generally a really bad idea to not use the built-in asp.net membership provider?
I've always rolled my own for my asp.net apps (public facing), and really have not had any problems in doing...
Vaishnava asked 3/6, 2010 at 19:18
1
I using this code (where context is OAuthGrantCustomExtensionContext):
var userManager = context.OwinContext.GetUserManager<ApplicationUserManager>();
ApplicationUser appUser1 = await userMa...
Unravel asked 10/7, 2016 at 9:45
8
Solved
How can I use Membership.GeneratePassword to return a password that ONLY contains alpha or numeric characters? The default method will only guarantee a minimum and not a maximum number of non alpha...
Carbonari asked 12/4, 2010 at 20:21
11
Solved
How can I access UserId in ASP.NET Membership without using Membership.GetUser(username) in ASP.NET Web Application Project?
Can UserId be included in Profile namespace next to UserName (System.We...
Chat asked 28/9, 2008 at 22:25
5
Solved
I need to get the UserId Guid directly after a successful login. The following code doesn't work:
if (Membership.ValidateUser(txtUsername.Value, txtPassword.Value))
{
FormsAuthentication.SignOut(...
Sty asked 14/7, 2013 at 19:1
3
Solved
Everything worked fine until I installed (Package Manager Console) the postal package, then uninstalled and installed an older version.
Now I get an error where it previously was not.
Error:
The ...
Ivo asked 24/6, 2014 at 15:1
6
Solved
What I want to do is to limit a user ID to only being able to log in to one device at a time. For example, user ID "abc" logs in to their computer. User ID "abc" now tries to log in from their phon...
Weil asked 9/4, 2013 at 13:40
3
Solved
I'm trying to use Dapper to interface with the ASP.NET SQL Membership Provider tables. I wrapped the SqlMembershipProvider class and added an additional method to get me the MembershipUsers given a...
Stalker asked 24/1, 2012 at 22:5
19
Well i have a big problem that i'm trying for days to solve but i could not do it, so i need your help. I have a web application in asp.net 4.0 where i implemented custom membership and role ...
Leda asked 6/12, 2012 at 23:33
5
Solved
Currently whenever I try to register a user or login using the default membership services built into ASP.Net MVC4 on my host provider DiscountASP I receive the error
To call this method, the "...
Jaquiss asked 1/4, 2013 at 23:54
10
Solved
Evaluting the method signature, it is required to know old password while changing it.
membershipUser.ChangePassword(userWrapper.OldPassword, userWrapper.Password)
Is there any way to change pas...
Dareen asked 16/2, 2011 at 8:1
2
Solved
I am trying to set and save an email change using within the Membership Provider in ASP.NET MVC 3. I do not know how to properly set and change the email property within the Membership Provider.
M...
Humfried asked 20/4, 2012 at 11:5
4
Solved
How can I add the MembershipProvider class to my .NET 4.0 project in VS 2010 B2?
I want to customize a MembershipProvider, but I cannot without adding this class. Please guide me through this proc...
Galoshes asked 17/11, 2009 at 10:38
6
Solved
Edit: This question is outdated
The Identity Framework was a moving target at the moment I asked this. The authors changed quite a few things and they have decoupled several others, making everyth...
Teufert asked 12/9, 2013 at 20:32
9
Solved
I'm creating a custom role provider and I set a Authorize attribute specifying a role in my controller and it's working just fine, like this:
[Authorize(Roles="SuperAdmin")]
public class SuperAdmi...
Invalid asked 14/8, 2009 at 19:10
4
Does anyone know if it is possible to configure the ASP.NET membership API to use SHA-256 or SHA-512? I don't really want to have to go down the line of writing my own and our employer has an encry...
Ashmore asked 5/6, 2009 at 11:8
3
Solved
When I attempt to create the stored procedure below I get the following error:
Operand type clash: uniqueidentifier is incompatible with int
It's not clear to me what is causing this error. Us...
Calciferol asked 12/9, 2011 at 14:45
4
How to set Request.IsAuthenticated to true when not using FormsAuthentication.RedirectFromLoginPage?
I am using Form Authentication and sending an Aajx request to the server for authentication. Based on the json result, the client decides where to go and what to do. That is the reason I am not usi...
Palacios asked 20/1, 2010 at 22:10
3
Solved
I'm working on an ASP.Net MVC 3 site. The _Layout master view contains a menu and I want to hide some of the items in the menu based on if you are logged in and what roles you are in.
This current...
Plemmons asked 7/12, 2011 at 6:23
2
Solved
Membership.ValidateUser methods works on development server both(iis express and cassini).
But on my IIS (its publishing as an application on my development machine) It always return false.
Even ...
Lixiviate asked 12/2, 2013 at 8:15
4
Solved
I use asp.net 4 C# and entity framework 4 with MS SQL 2008. I'm trying to set up my web application locally using IIS 7.
For my website I user Asp membership provider which has installed different ...
Culvert asked 10/10, 2011 at 9:33
1
I am having question around authentication/authorization. Here's my application set up.
Application 1 : ASP.NET MVC application which is served using browser.
Application 2 : same functionality is ...
Cogon asked 30/6, 2015 at 20:12
4
Solved
I want to implement forms based authentication manually in my website.
I am using Web.config file for data store
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx"
name=".AS...
Mab asked 28/5, 2012 at 6:35
1 Next >
© 2022 - 2025 — McMap. All rights reserved.