membership-provider

aspnet personalization

hi , I need help to configure app with access as default provider for aspnet personalization. ...

Membership Provider ChangePassword Method Return Type Problem

We have implemented a Custom Membership provider and have a change password control on a webpage that uses this provider. The ChangePassword method in this membership provider class checks some business logic about password strength and validity by connecting to an external webservice. The webservice has the ability to return exactly wha...

Getting an error when initialising the Membership.Provider for the first time after an app restart

We're using MS Commerce Server's Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider and sometimes where it gets initialised for the first time after an app restart we get this error: System.Configuration.ConfigurationErrorsException - System.Web, Object reference not set to an instance of an object. (C:\Inetpub\web.config l...

ASP.NET Login Control with Active Directory Membership Provider

Hello there! I have setup a basic application which uses the ActiveDirectoryMembershipProvider to talk to our AD and authenticate users. It's a simple login page with the control which redirects me to a simple output of who is logged in and associated ticket information, this works great and when I test it on my development machine it ...

[Authorize(Roles="whatever")] attribute for .net MVC controller action method

Essentially I want to show a friendly message when someone is not part of a role listed in my attribute. Currently my application just spits the user back to the log in screen. I've read a few posts that talk about creating a custom attribute that just extends [AuthorizeAttribute], but I'm thinking there's got to be something out of th...

MembershipPasswordFormat.Hashed? How does this work?

Straight to the point: Where can I place the algoritm for password hash encryption in Membership Provider? or: Where did Microsoft team place the encryption method? Because: I chose to have it Hash but password ended up in my database are plain. Thank you very much :) ----- Update Sorry for not mention, im using my own custom provid...

CreateUserWizard - Change position of the validation message

I am using a CreateUserWizard. By default, the validation error messages are shown in the bottom of the control. Can I change this positioning to be shown above the control so that it is consistent with my other pages? When a user fails to enter a required fied, it displays a asterisk * next to the field. Can I have it also display so...

Admin pages to manage asp.net membership provider & Role management

Are there any open source projects that provide a front end to asp.net membership provider? Something like the one visual studio exposes through it configuration, but one that can be deployed on production. Examples of some of the functionality I would like to see in the front end is Add users Delete users Reset password Change ro...

ConfigurationErrorsException "Thread was being aborted" on Membership.Provider

Occasionally on app restart this error will occur: System.Configuration.ConfigurationErrorsException - System.Web, Thread was being aborted. (C:\Inetpub\web.config line 417) at System.Web.Security.Membership.Initialize() at System.Web.Security.Membership.get_Provider() ... When it does the app needs to be restarted to clear the...

Integrating Rhino Security with Asp.net membership providers

How does Rhino security gel with the asp.net membership providers? The reason why I am asking is because AFAIK if I need to use attributes [Authorize] then I should be implementing or extending the asp.net membership providers. In my case as I need more than what asp.net membership provider gives me. Rhino Security is a good fit in t...

.NET custom MembershipProvider decrypt password

Hello, I'm using a custom MemberShipProvider in a c# project based on the code from: http://www.asp.net/learn/videos/video-189.aspx and for some reason I can't figure out, the method that decrypts the user password to validate the login gives an extra 8 characters in front of the password value (for example: 䝉慣嘗㳪畕锬password). I use "e...

Creating a Domain-Layer-Backed Custom .Net Profile Provider

Hi all We have an existing ASP .Net web application which uses the MS membership provider model. Currently, we are using the sample SqlTableProfileProvider profile provider http://www.asp.net/downloads/sandbox/table-profile-provider-samples/. We are doing an extensive redevelopment of the application, including a much more layered arch...

ActiveDirectory Provider fail over Best Practices

ActiveDirectory Server 2003 I am using the ActiveDirectoryMembershipProvider and ADroleProvider. They work great. Until my active directory server restarts in the middle of the day to get updates. (I'm not in charge of the server and can't change this). When this happens, for the five minutes the server is rebooting, my users can't u...

ASP.NET Membership Provider - Single Login

I'm considering utilizing the ASP.NET Membership Provider for a few different web apps/tools with a single login approach. REQUIREMENTS User logs in to my.domain.com and sees a list of apps/tools that they have permission to use. The user selects the tool they'd like to use and clicks the link. When the tool opens, it is able to i...

[RESOLVED] ASP.NET Membership PasswordLength and other properties

I am going crazy, when I go into the Web Site Administration Tool to create some new users, it always tells me that my password is not 7 characters long. Error msg: Password length minimum: 7. Non-alphanumeric characters required: 1. Here is my web.config, seems like it is not even looked at. <membership userIsOnlineTimeWindow="20"...

How do I create a user registration Page in DotNetNuke 4.9.2

I am looking for a way to create my own user registration page in DotNetNuke. I do not want to replace the default one, I just want to put dnn registration in a moduule I am building. Any insight on how to go about this would be great, I would like to use the current membership provider included with DotNetNuke. ...

LastActivityDate Custom Membership Provider

Hi, When is the LastActivityDate supposed to be updated? When I click on any other pages in my web application as an authenticated user, the LastActivityDate does not get updated. I would imagine it should be updated when a user clicks on any page, whether it be to do with membership (change password, GetUser(), etc) or not. But the ex...

Asp.net Membership ProviderSql

Hi I'm looking into Asp.net Membership Providership Sql to determine if it fits my needs and have a few basic questions. It seems to create a lot of tables, many of them I don't think I need. I only need one application and no role management. Can I remove the unused tables or should I just leave them alone? I need another table wher...

ASP.NET Membership users disappear.

I started creating a project using the membership classes and I keep adding a few users to test, and when I want to continue the next day, those users are GONE. When I query the membership table I can still see the records but the Web Site Administration Tool tells me I have NO users. This has happened quiet a bit and I am worried if I ...

Inject Multiple MembershipProviders with Structuremap

I have an existing ASP.NET MVC application and am using StructureMap as my IOC container of choice. Currently when a controller needs an IMembershipProvider I use StructureMap to inject a concrete instance in the controller's constructor based on the BuyerMembershipProvider configuration from my web.config file as in the below solution c...