asp.net-membership

Asp.Net Membership Password Resets without symbols

Hello, I'm using the asp.net Membership Provider in an application. I'm also using the "out of the box" asp:PasswordRecovery control. My client is complaining that the new passwords being issued are too complicated. e.g. }>;-(hYrS^OTfY Are there any small tweaks I can make so the new passwords only contain letters and numbers? thanks...

Is it worth using ASP.NET's membership/role provider model if you're doing a completely homebaked implementation?

I'm working on a website that will be using Facebook Connect to authenticate users. We also have some database structure on the backend to associate users via their Facebook user id to various groups and roles. In short, the requirements for the project don't really have a lot of crossover with the functionality defined by ASP.NET's mem...

How would you use Entity Framework (1.0) with ASP.Net Membership?

I'm trying to design an entity model for an application that uses ASP.Net membership for it's user authentication. In most of the database schemas I create, records typically end up related to users via the UserId field on the aspnet_users table. That's worked fine for me in the past, but now that I'm using EF, I'm having some conceptu...

What is wrong with my Membership ValidateUser request? (using ClientFormsAuthenticationMembershipProvider)

Are there any simple diagnostics I can run to determine why authentication is not working with the ClientFormsAuthenticationMembershipProvider provider? My problem: I have a web site (we shall call it the "Authenticator" web site) hosted on Server A that is configured to use the AspNetSqlMembershipProvider provider for both Membership ...

How does the Authorize tag work? - Asp.net Mvc

Hi I am wondering how does the Authorize Tag determine if the user is authorized or not? Like say if a user logs in and they try to go to a view that has an Authorize tag. How does it determine if a user is authorized or not? Does it do a query to database and check? How about if they go to a view with a role authorization? Does it qu...

Sql Express 2005 Limit

Hi, I'm using SQL Express 2005 for an asp.net application which only uses Membership management.I've known that this edition has 4GB limit,but even it has I wish to know how much space I'm using in. Is limit possible to be checked from either SQL Express Management Studio or by code (c#)? (i.e 2.34 GB is in use) ...

No login error text for role based authentication in ASP.NET

I have an ASP.NET Role/Membership based forms authentication site. There's a subfolder and its pages which can be accessed only by a certain role. The problem is, login page does not display any error message if any user from non-allowed role group logins in login page. I mean, when a user from AllowedRole logins, the login page redirect...

How to best utilize ASP .NET Membership database?

Hi, I'm in early development stage of developing a web application. Im currently reviewing as to whether I should use ASP .NET Membership or write my own. Im more lenient towards to using ASP .NET Membership to save me some development time. Need help to clear up some ambiguities on how to best utilize membership database: Membership ...

Using ASP.NET Membership Cookie in Web Service

I have an ASP.NET 3.5 site that exposes web services as part of the web project for jQuery HTTP/POST calls to access. The site is using forms authentication. I currently have the web services denied to anonymous users. By using Firebug, I can see the ASPXAUTH cookie coming across on every web service call from jQuery, and I would like...

Managing asp.net membership in production

I have been using the 'Web Site Administration Tool' that you can bring up in Visual Studio to manage users and roles in our dev and staging environment. Currently we have no way of managing users and roles when the app goes to our production servers. for now we have been calling stored-procedure in the membership database to manually ...

ASP.NET Connection String error when deployed on GoDaddy

I have an ASP.NET app that accesses a SQL Server database with membership and roles tables included. The app works perfectly when run locally, but when I deploy it to a shared Godaddy host, write operations on the database seem to act funny. I added before my connection strings in web.config to see if the app was trying to access a di...

asp.net Membership - set comment field

The following code does not set the comment: string userName = "yrtre.etre.423369a9-3e57-42da-934d-dae91f87a1e4"; MembershipUser user = Membership.GetUser(userName); user.Comment = "Test"; I get no exception. Any ideas? ...

Is ASP.NET Membership suitable for a shopping cart?

I am developing a custom shopping cart for which existing customers will need to log in to access their account. I am trying to decide if ASP.NET membership is appropriate for all or part of the application. It certainly makes sense for existing customers - you log in and get access to your order history and can make changes to your s...

Cross web domain login with .net membership

Hi all, I currently have three websites all running from the same DB example websites: www.mysite.com admin.mysite.com members.mysite.com now because this all runs from a single DB they all use the same .net Membership tables. All members are in a role: Member All Admins are in a role: Admin So the admins can log into the admin...

Provider.ValidateUser not true if not approved

Must I use user.isapproved instead of the a of the above if the user is registered but not approved? ...

MOSS SSP and asp.net membership database

Hi We have MOSS configured to use the asp.net membership database and now want to configure our Shared Services Provider to import or use the information in our aspnet membership database. We only see LDAP and BDC as import options though, can anyone suggest how best to go about this? ...

.Net Membership in nTier App

Lets say I have an ASP.Net MVC App and this app (UI) references a Business Logic Layer (BLL) and the BLL references my Data Access Layer (DAL). I am utilizing a Custom Membership and Role provider for Authorization. I am trying to determine what layers need to reference my Membership provider. In MVC you can perform Authorization ch...

Conversion error in web service

Hello, I am working on a single sign on sollution for two different websites. I am trying to make the methods in my customized(overriden) provider post to a web service and get the results from it so that the same login. It works for most methods but there are ones that return System.We.Security sp3ecific objects that fail. For example...

is there a way to get all profiles in ASP.NET membership

Is there an API in the ASP.NET membership, implementation to get all user profiles at once. If not, is there another good way to get all the names (first + last) of all the users. I'm trying to avoid the many SQL requests generated by getting the user profiles one at a time. ...

How can I extend te MembershipUser class w/o multiple inheritance?

At the top level I have a Person class. Next I want .NET's MembershipUser class to inherit from it, because a member is a person. However I want to extend the MembershipUser class which means, I think, I need to create my OWN MembershipUser class which inherits from MembershipUser and then adds my own properties. But once I do that, I ca...