Default membership provider needs access to master database
I have an ASP.NET web form application on .NET 4.5 using the internet template. I use an Azure SQL Server database. I am also using the built-in membership providers.I find that the membership...
View ArticleCurrent windows user
I know I've done this in the past, but it was a long time ago (2005-2006). I'm trying to get the user that is currently logged into the local machine (their username). I have this code:string...
View ArticleAllow Users not allowing user
I created a role in the asp.net configuration tool - AdminI created a user - JohnIn my project I created a folder called "Admin" with a file called "admin.aspx"I added "admin.aspx" to my web.sitemap...
View ArticleFormsAuthentication.RedirectToLoginPage() problem
hisince i'm new in web developing, this the first time i'm creating web application using login ... in my master page i'm checking if user is authenticated:if...
View ArticleImports to membership
Hi,I use asp.net memberships for users login...I have a table (tb) whit NAME and PASSWORD fileds, whit many records,I wants imports this table (tb1) for asp.net memberships tables ... how i do?
View ArticleLogonuser on windows 8 and windows server 2008 doesnt work
Im trying to use this function to access our domain. It works perfectly fine on windows xp ans windows server 2003. Any solution for this? Im using windows 8 as my test machine and my server is windows...
View Articlea few problems with Identity
<div class="post-text" itemprop="description">I have a new project i created in VS 2013. I am using the identity system and i'm confused how to get a list of all users to the application and all...
View ArticleIs it possible to have mixed authentication?
Hi,Is it possible to have mixed authentication in an MVC 5 application? By mixed, I mean, Active Directory and Social Login where users can identify their domain and login using their AD account or use...
View ArticleHow to inject ClaimsPrincipal with autofac
Hi,currently I am working on a single page application with durandal and breeze. The authentification I did with the new ASP.net Identity and OAuthAuthorizationServerProvider. This work fine so far. I...
View Articleneed help in DES Decryption
I am trying to decrypt an encoded encrypted value. But it is not returning the unencrypted value. I am using DES algorithm.Can someone please help me with this?Decryption Code:publicstaticstring...
View ArticleCannot get Windows Authentication to work in my project
As I understand it, Windows Authentication is supposed to make it possible to fetch the domain and username of the currently-logged-on user. But I can't seem to get this to work. After I publish my...
View ArticleCheck if user is authenticated - based on Response NOT Request?
There are a lot of ways to check this as detailed here: http://forums.asp.net/t/1330276.aspx?Check+if+User+is+AuthenticatedHowever they all have one thing in common - they check if the REQUEST is...
View ArticleStop login control redirction - DestinationPageUrl
Hi All, I am using .NET 2.0 Login control. I need to add JS event after login done. Execute JS event and then redirect to home page. To achieve above, I need to stop redirection from Login control...
View ArticleHow to pass user credential using entity framework
I am writing to seek, help/examples in how can I link the following code to pass user credientials using the enity framework. public class LoginProvider: IProvidePrincipal { private api_login user;...
View ArticleModifying WIF token expiration?
Hi all,I am using WIF 4.0 and attemtping to increase the time the token is valid for. I have setup a Relying Party, SharePoint site and a Claims application. My applications are talking to each other...
View ArticleSign in with Microsoft account using ASP.NET Identity at localhost
Hi,I am trying to add sign in with a microsoft account up and running with the Singe Page Application template provided by Visual Studio 2013 but I can't get it to work at my computer because localhost...
View ArticleProblem with redirect url
HiI have a simple asp.net login page using forms authentication, here is a part of my .config file<authentication mode="Forms"><forms loginUrl="~/Account/Login.aspx"...
View ArticleVerify Email Address Before Approval - How to prevent user from doing it...
So, using asp.net membership, I have it setup so that a user is not approved until they verify their email address.But what if a user is causing trouble and I unapprove his account. Then, how do I...
View ArticleASP.net Identity, Portals, and Multiple External Logins From ONE Auth...
It seems like the Identity Framework assumes that there is only one application in mind in a single data context. Therefore, an application can only have 1 set of client credentials per Auth Provider...
View ArticleNot able to redirect to custom error page for HTTP error 400
Hi Team,I tried to redirect the page using global.asax and also in webconfig. But only the 400 error is not able to redirect to custom error page. i think there is some thing else needed to handle for...
View Article