ASP.NET membership gives you a built-in way to validate and store user credentials.
0
votes
0answers
7 views
Radgrid delete command error “Object must implement IConvertible”
I am using Radgrid to manage the membership.
I want to use the delete command to delete a use from database,
but when I click the delete button I keep getting this error:
Object must implement ...
0
votes
0answers
8 views
Why can't I redirect Login master page with RoleExists?
I have a problem whith this code I cant redirect correctly to the link, when i login whith a alumno i go to the master page, but, when i loging when a docente for ejample the master page going to ...
0
votes
0answers
13 views
Why does `MemberShip.GetUser()` return null while `User.IsAuthenticated` returns true and the Username information is available in the database?
A Debian server is running a MVC4 app on Mono which uses a Membership ASPSqlProvider. The application has a method GetUserIdByName which creates a link between the Users table in the Membership ...
0
votes
1answer
17 views
ASP.NET MVC doesn't create membership database
I have a ASP.NET MVC 5 project that has an option for authenticating users. In debugging, I am able to register and log in. However I realize that the membership database isn't created in App_Data ...
0
votes
0answers
65 views
Build similar ASP.Net membership authentication in PHP
I have an application which was built in .Net and using membership authentication to saved password in database. I need to copy that same logic and make another system in PHP.
In PHP i am using below ...
0
votes
0answers
20 views
HTML5 asp.net membership database
I have an existing old ASP.NET website that has a asp.net membership db with it.
I've updated this site doing HTML5, and direct JS and CSS3.
I am trying to determine how the Login form will work and ...
0
votes
0answers
21 views
How to reference Web.Config file to class in another project in same solution?
I have the following membership element in Web.config file:
H
The solution:
As you can see the my web.config file stay in MvcApplication52 project,
I need to reference the type property in ...
-1
votes
0answers
14 views
Pass values with WebSecurity.CreateUserAndAccount to colums with spaces in names
Having some fields in user's (it called Users in my DB and have all columns) table, like [Main Address] (space between).
Now trying to pass values when user creation like
...
0
votes
0answers
16 views
using FormsAuthentication.SetAuthCookie(username, false) with web api MVC
I am using the code below in a controller to authenticate users for an API. Excluding the User.IsInRole("API-Admin") if statement seems to work as expected (bypassing the UserInRole method). When I ...
0
votes
0answers
7 views
Can i change default membership provider runtime in ASP.NET?
After going through all the posts available about membership, i am still confused if i can change the default membership provider runtime?
I have checked all the pages, all the question on SO but ...
0
votes
0answers
12 views
Sign in with Google / Facebook using WebAPI and Backbone (not .Net MVC)
I'm building a site with a .Net Web API backend and BackboneJS on the front end.
There are a lot of tutorials for .Net MVC projects using the built in membership provider / social sign in and that ...
0
votes
0answers
9 views
Two Instance of membership provider in ASP.NET
I am in between of some application and found one scenario which i can not get through.
In my ASP.NET 2.0 webiste, i have implemented membership for user management. I currently have two providers ...
0
votes
1answer
36 views
asp.net MVC FormsAuthentication for claim based authentication
We are using Gigya to authenticate the user which will provide us with user Id and email. Then we pass the user detail to our CRM Web Service which will return the user data from CRM.
We then need to ...
0
votes
0answers
14 views
Asp.net mvc MemberShip and Simple MemberShip
What is the diffrence between Simple MemberShip and MemberShip in asp.net? is simple membership is introduced in mvc 4.0?
0
votes
0answers
26 views
How can i use Asp.NET Identity with enterprise library and MVC5?
I am working on one project that has some technical restriction like i need to make this project in Asp.Net MVC5 with Enterprise library but this application has sign-In and Sign-Up Functionality, so ...
0
votes
0answers
6 views
Membership.GetUser(username) - how to return correct creation date?
When I am fetching the membership details it is giving me wrong create dates. for >example if the create date is 1984-03-02 20:20:20.000, it is fetching it as 03-03-1984 AM 01:50:20
I want to ...
0
votes
1answer
15 views
Using User.Identity.Name in master page
I am currently in the process of updating an old web forms project that we have and I'm slightly stuck on being able to condense the code.
As a bit of background, I only learnt C# last year and have ...
0
votes
0answers
19 views
ASP.NET Identity without username and without email
I am using Azure Table Storage with ASP.NET Identity.
User can login only with social accounts. No email, username nor password.
ASP.NET Identity forces me to have a username.
What shell I do?
...
0
votes
0answers
23 views
Get Specific User Role's aspnet users
I'm using membership provider and i wanted to get some users in some user role.In my scenario this is "Supervisors"
But in here i'm having a trouble to get a list of UserRole's user list ( ...
0
votes
1answer
16 views
MVC 5 seeding users only works for email
I am working on a porject built on MVC5 and EF Code First.
I have multiple contexts, but the one I'm concered about here is the ApplicationDbContext which has the following configuration code:
...
1
vote
1answer
17 views
How to use user.context object for CRM Users in ASP.NET MVC
I'm consuming a WCF Webservice with CRM Backend. All the users are stored in CRM. User can have different roles e.g. Supervisor, Team Leader etc.
I would like to use the asp.net User.Identity.Name or ...
0
votes
0answers
15 views
Custom Membership In Asp
I have created a Asp Application where I am using my own authentication Like after logging-in I am storing username and user type in Session, but using this The predefined things like getloggedinusers ...
0
votes
1answer
13 views
ASP.NET Register Control CreatedUser Event (Acting like it worked but no users are in my database)
I'm trying to create a custom profile object after the registration of a new user. The problem I'm having is that the user registration control does not seem to be storing to my database. When I do ...
0
votes
0answers
13 views
How to send forgotten password from OracleMembershipProvider for ASP.NET?
I am developing a ASP.NET web project using Oracle Database and OracleMembershipProvider. I want to create a page to send forgotten password to user's e-mail. Here is my code:
string password = ...
0
votes
0answers
8 views
What are the ramifications to using a vast number of roles (1000's) in the ASP.NET MembershipProvider
For our extranet User Portal ASP.NET SharePoint site, we have a complicated permissions scenario, in which we will have various clients with their own document libraries, which will have various ...
0
votes
0answers
54 views
Password incorrect or New Password invalid
Change password control is regularly failing my change attempt.
The control is very simple
<asp:ChangePassword ID="ChangePassword1" Runat="server"
BorderStyle="Solid"
BorderWidth="1"
...
0
votes
1answer
28 views
Adding a table to the Membership-database
I am using the membership-database for usermanagement.
The layout looks as follows:
As you can see I added a new table "Downloads".
In this table I want to store some additional information.
I ...
0
votes
0answers
21 views
Set email field to be optional but must be unique in create user wizard
I am using a CreateUserWizard with custom template
I am asking the user for email
The membership provider enforces adding email
while I don't want that, I want it to be optional and at the same time ...
1
vote
2answers
41 views
Catching exceptions in async code called synchronously
I have thrift service for authentication. catch (AccountNotFoundException) doesn't catch the exception unless I call it in Task.Run. The strange thing is that test case is fine. Why? Is it because ...
0
votes
0answers
41 views
How to authenticate ASP.NET MVC website using Oracle IDM
I have a website created using ASP.NET MVC and integrated with active directory for authentication using System.Web.Security.ActiveDirectoryMembershipProvider.
Now for some reason I have to use Oracle ...
0
votes
0answers
60 views
Redirect to login.aspx failed for unauthenticated and unauthorized users. Access denied is shown
I have been developing a web application project. I have used Asp.Net Membership API to apply security to the application. For security reasons I would like to limit the page access based on Roles.
...
0
votes
1answer
20 views
Select MVC Membership usernames to list
I am trying to select all usernames in MVC membership provider into a queryable list to plug into a function that checks if a given username exists and modifies it by adding a number at the end if it ...
0
votes
1answer
41 views
quickest way to implement .net authentication in Web Forms with Entity Framework 6
I have been checking resources to implement authentication in my web forms application built with entity framework. All examples I found are MVC-related. I have used regular Asp.Net Membership ...
0
votes
0answers
32 views
ASP.Net Identity with old Membership-tables
I'm using Forms Based AUthentication with SharePoint.
It uses the following tables :
Now I'm using the ASP.Net identity framework and this uses the following tables :
How can I make the ASP.Net ...
0
votes
0answers
61 views
ASP.NET web form Authentication Roles not returned
I have an asp.net application which is only available if a user has access via Active Directory Group "Admin". The app calls the Account/Login.aspx file if not authenticated. I am having an issue ...
1
vote
1answer
42 views
Migrate Asp.Net Profile Provider to Work in MVC (extending not working)
I am trying to update an Asp.Net web forms website to using MVC 5. There is a shopping cart component that extends the profile provider. This xml located in the web.config appears to auto generate ...
0
votes
0answers
11 views
To share Membership and Master page in all app of a portal
I have a portal which have more than 10 application. Now, I need to implement single membership over all applications in other words the flow of application like...
1. User will log in in portal.
2. ...
0
votes
0answers
15 views
Unabe to connect <Rolemanager> with SQL Server in asp.net
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not ...
0
votes
0answers
39 views
Choosing the best template for a database driven web site project in Visual Studio 2010 (VB)
I'm about to embark on a project in Visual Studio 2010 Express (VWD Express) which will end with a website that gathers users info (name, email, description, youtube address etc), then will display ...
0
votes
1answer
33 views
ASP.NET MembershipProvider membership info (usernames, passwords) not being stored? How would I implement this system in a networked environment?
I am working on a project in ASP.NET using MembershipProvider for my login system. Our issue is that the ASPNETDB file generated by ASP.NET upon creation of the login system seems to be empty or is ...
1
vote
0answers
27 views
Membership.ValidateUser not working for hashed password using Pbkdf2Hash
I am using stored procedure to insert user into membership tables
EXEC @error_code = Aspnet_membership_createuser
@ApplicationName = @ApplicationName,
@UserName = ...
3
votes
1answer
113 views
Membership not working with Azure SQL database-level firewall
We have an Azure Cloud application which stores user login (Membership) info into an Azure SQL database. We have several versions of this database, one for production and one for development. We want ...
0
votes
0answers
23 views
Login control doesn't work under master page on remote domain
our website (asp.net 2.0) has been hosted on lfc hosting servers for a long time and it resided on
http://ekoren.lfchosting.com/home-cooking
for development.
we are trying to go live and registered ...
0
votes
0answers
14 views
How to enable passwort reset when using WebSecurity.InitializeDatabaseConnection?
I want to add a password reset option to my website.
I initialized the membership system by using WebSecurity.InitializeDatabaseConnection (following the StarterSite sample in Webmatrix).
As such ...
2
votes
1answer
74 views
ASP.NET MVC disable Windows Identity
i use to FormsAuthenticationTicket (with form) for authorize users with [Authorize] attribute, when on IIS was allow Anonymous and Form Auths all working so good, BUT now need to switch to Windows and ...
0
votes
0answers
57 views
Assign Role When User Registration in “AspNet Membership”
In my AspNetRoles Table I have two roles
Id| Name
1 | HEI_Admin
2 | HEI_User
this is my View Class drop down to select the user role when user register
<div>
...
0
votes
0answers
42 views
Edit: MySql Membership not working
I posted this question earlier on and never got an answer that solved my error. I have an ASP.NET MVC 5 with EF6 project that I wanted to use with MySql Membership. I have included the details at the ...
1
vote
2answers
35 views
Adding some fields in existing membership method
How I can add a product id in asp.net membership with existing method of create user or something like that. Need following thing with membership like that >>
Membership.CreateUser(Username, Password ...
0
votes
0answers
37 views
OWIN custom handler returns null ExternalLoginInfo
I'm trying to create my own OWIN handler for custom OpenIDConnect provider.
I'm using WordPress handler as a template for my own one.
...
0
votes
0answers
20 views
Get All User Profiles in Asp.net membership
ProfileBase profile = ProfileBase.Create(DataLayer.GetLoggedInUserName(new Guid(User.Identity.Name)), true);
string Email = profile.GetPropertyValue("u_email_address");
Above is the method ...