Questions tagged [custom-membershipprovider]
135 questions
1
vote
1 answer
ASP.NET MVC 4 and dynamically changing membership connection string with CodeFirst
I am working on creating a MVC4 multi-tenant site that uses seperate DBs for each tenant and have been trying to get the membership piece to work for each tenant without any luck.
For some reason connectionStringField is always null no matter what I…

Todd
- 1,780
- 7
- 32
- 54
1
vote
2 answers
Register button does not respond
Basic problem: We are currently busy developing a C# MVC3 web application, and after writing a CustomMembershipProvider and a custom RegisterModel, our Register form does not seem to be working. this error is pretty frustrating.
Here's what…

SkyronWtr
- 13
- 1
- 6
1
vote
2 answers
Azure ACS, WIF 3.5, Asp.Net 3.5 Custom Membership Provider and IsAuthenticated
Following the steps in this guide Using Azure ACS I have a working Azure ACS service configured & authenticating via Facebook, redirecting back to a website running on my development server.
On authentication success Azure ACS redirects back to my…

Andre
- 31
- 3
0
votes
1 answer
Where can HttpContext.User be set?
Environment: MVC3 SqlMemberShipProvider
I added an empty
public void Application_AuthenticateRequest(object sender, EventArgs e) {}
in the MvcApplication class in Global.asax.cs and put a breakpoint there. It was fired on every page access. The…

Old Geezer
- 14,854
- 31
- 111
- 198
0
votes
2 answers
XML cusomter membership provider type c#
Here is my class declaration:
public class XmlMembershipProvider : MembershipProvider
{....}
and my web.config snipit:

shenn
- 859
- 4
- 17
- 47
0
votes
0 answers
The user name or password provided is incorrect. in MVC 3 Internet Application
I have a "Internet Application" - "A default ASP.NET MVC 3 project with an account controller that uses forms authentication." called MyMv3App. I run the site in IIS Express using Ctrl + F5 and then I go to localhost:10382/Account/Register and I…

PussInBoots
- 11,028
- 9
- 52
- 84
0
votes
2 answers
Using custom MembershipProvider and Roleprovider in IIS 7.0
I'm writing a ASP.NET MVC 3 web site. This is my custom MembershipProvider (only ValidateUser realized):
public class RFMMembershipProvider : MembershipProvider
{
IUserService userService = new UserService();
public override bool…

Dmitriy Shapar
- 128
- 1
- 11
0
votes
2 answers
ASP.NET FormsAuthentication frustration: how can I wire up a custom MembershipProvider?
It seems I was not expressing my question well, so I am adding this as a supplemental title: How can I extend the FormsAuthentication class so that I can override default behaviors in a configuration file (for example, pass off execution control to…

Jeremy Holovacs
- 22,480
- 33
- 117
- 254
0
votes
1 answer
Get current MembershipProvider name
I am using ASP.NET 4.0 membership api in web form application.
I want to get the name on the current membershipProvider during runtime (either "UmbracoMembershipProvider" or "UsersMembershipProvider").
Can someone help?
Thanks
Indra
this is the…

kite
- 1,478
- 1
- 15
- 27
0
votes
0 answers
Sitecore - Diferent password requirements for diferent roles
I'm trying to apply diferent password requirements to diferent roles in a sitecore instance.
Let's say I have the following roles and requirements:
Role1 : 10 characters
Role2 : 15 characters and a special symbol
My inicial idea was to create a…

Diogo Pascoal
- 1
- 1
0
votes
1 answer
Problem using HDI membership provider with asp.net
I am trying to use HDI custom membership provider and after seting up with web.config when I run the applcation it gives me an error as shown below.
And I am unable to know where I am going wrong?Can anyone point me the right way?
Failed to map the…

coder
- 13,002
- 31
- 112
- 214
0
votes
1 answer
MembershipProvider custom - Error on saving using EF POCO 4.1
I'm customizing the class MembershipProvider.
When navigating to Asp.net Web Site Administration Tool can list the users normally.
The code below is responsible for entering the user in the database:
public User CreateUser(string username, string…

ridermansb
- 10,779
- 24
- 115
- 226
0
votes
2 answers
MVC3 Custom Membership provider
I'm working in a MVC3 application using Custom Membership Provider. The problem is when I get the display of the login page, for some reason the page doesn't load the style sheet neither the javascripts.
Is something that I need to add and I'm…

Gradile
- 104
- 1
- 9
0
votes
1 answer
ASP.NET MVC3 login not for long
I am using own membership provider and I can login and logout. When I login, it is been login just for a moment and then no user is login. I don´t know where is problem but when I am trying it on my computer (IIS Express) the user is login for long…

Libor Zapletal
- 13,752
- 20
- 95
- 182
0
votes
2 answers
Create a brand new custom membership provider and authenticate from that
I have to develop a brand new custom membership provider(MyCustomProvider) in which i have to implement all the methods like validate user, CreateUser and all other and use this membership provider as authentication mechanism for my sharepoint site.…

vikas mehta
- 440
- 8
- 22