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 ...
I'm using VWD 2008 Express Edition with MVC and I am trying to add a foreign key from my database to the ASPNET Membership database's Users table. Is this possible using the user interface or do I have to scrounge up some SQL every time I want to do this?
Edit: After thinking about this for a minute, I realized that maybe having an FK t...
update:
Forgot to mention that the app only breaks and shows that error when I try to login as asp.net membership user (sql membership provider), before that everything is fine and the app communicates with the sql just fine.
Hello,
I'm writing an asp.net app that's using asp.net sqlmembership and connecting to a SQL Server 2008 datab...
Hi,
I am building an application using asp.net mvc, DI, IoC, TDD as a bit of a learning exercise.
For my data access I am using the repository pattern. Now I am looking at membership and how this can work with the repository pattern. I am currently using a Linq to Sql repository but don't want to be tied to SQL Server for membership.
...
Is there a standard object I should use to edit Users and their Roles in ASP.NET? Or should I role my own?
...
Hi there.
I have two asp.net applications on one IIS server and I would like to use the same back end asp_security database and membership provider. I've read that all I have to do is reference the same application name in both web configs as I'm doing now, but I must be doing something wrong
In each applications web.config I have thi...
I have an ASP.Net website with the standard forms auth membership database, and then a Reporting Services instance with a bunch of reports on it.
How can I integrate the security between the two servers? Worst case, I could just frame in the reports with some code and pass a universal set of credentials to the Reporting server, but I l...
I'm trying to create two ASP.NET Membership login pages for an ASP.NET website I'm creating.
Here is structure:
/ - Anonymous Access for page off root
/registeredUser - Must be part of RegisteredUser Role
/registeredUser/login.aspx - Login page Registered Users
/admin - Must be part of AdminUser Role
/admin/login.aspx - Login page ...
I'm creating a custom authentication service (I just need more than the default allows). I can't decide if I should extend MembershipUser and implement the appropriate interfaces, or completely roll my own. Is there any advantaged to rolling my own, or any pitfalls I should be aware of when extending the default mechanism?
...
Hi.
I have recently installed the aspnetdb and have been customizing
it for the purposes of my application design. I have extended the ASPNET
providers as part of my class design: MyMembershipProvider, MyProfileProvider,
and MyRoleProvider. Everything works well there.
Now, per the requierments of my system, I need to add custom dat...
I have an ASP.NET app using built-in Membership functionality. As such, I have a connection string in my web.config that looks like this:
<add name="MembershipSqlServer" connectionString="Data Source=servername;Database=aspnetdb;uid=user;pwd=password;" />
When working on my dev machine, everything is peachy keen. But when I move thi...
How do I migrate users from a existing users table to Forms Authentication?
There seems to be three options:
T-SQL - Iterate through the existing users table and insert into Forms Authentication tables using the stored procedure aspnet_Membership_CreateUser
Code - create a utility that will iterate through the existing users table and...
All,
I have a website that is in use and has several users, using the MySqlMembershipProvider.
We have had a few users that have been locked out (for some reason) and recently I unlocked them and reset the passwords, using the MembershipUser.UnlockUser and MembershipUser.ResetPassword methods.
Now they are definitely marked in the dat...
Hi All,
I'm looking at managing user groups in an iPhone App. The App is connected to a WebServer.
I'm therefore looking at using ASP.net Membership Provider to store/manage User Info.
(We may just make a simple custom table to manager end users).
I have not seen a native User Management framework in iphone SDK.
Anyone have a better su...
I'm using ASP.NET Membership and Form Authentication and before redirecting to the returnURL I wanted to validate it. For those unfamiliar with the workflow, basically if you request a page that requires that you are authenticated, you are redirected to a login page. In the URL string you'll see a parameter called returnURL, e.g.
http://...
Hi,
I've just started a small ASP.NET web application. In this project, I need to authenticate the users with Active Directory. I managed to authenticate the users successfully with Active Directory. But with Authorization with Custom Role Provider, I'm so confused. You see, the user name and password are stored in AD. So, my approach i...
First time trying to deal with users logging in with ASP.net and haven't had much experience with it with other things. From searching, I am seeing things like Asp.Net MVC Membership Provider. Is this a built in thing?
Is there any good online guides for this?
...
When executing this line:
Dim roleRedirectSection As LoginRedirectByRoleSection = DirectCast(ConfigurationManager.GetSection("loginRedirectByRole"), LoginRedirectByRoleSection)
...I get the following error:
Message: "An error occurred creating the configuration section handler for loginRedirectByRole: Could not load type 'sitename.Lo...
I'm at a point where I'm really confused about how to go about handling security in my ASP .NET MVC application. Here's what I know I want to do:
1) I want my own schema layout so I can implement security how I want it and not be tied to Microsoft's default db schema (which I've seen next to no support for on other dbms's).
2) This is ...
Is there a way where I can set the .NET ApplicationServices connection string in the code behind? Instead of having plain text in my web.config? Or can I just put the encrypted value there and then decrypt and pass it again?
Thanks!
...