Quantcast
Channel: Security
Browsing all 4737 articles
Browse latest View live

Value cannot be null. Parameter: Username

Hi, I have been reading tons of forums yet I am stuck in the same error which is the "value cannot be null".I want to check first if the user already exists in the user table or not. If yes it will...

View Article


Disabling sql membership user accounts

provider = Membership.Provider as MAMembershipProvider; MembershipUser u = provider.GetUser(username, false); u.IsApproved = enabled; u.Email = "unspecified@testmorganash.c.com";...

View Article


PasswordHasher Always Fails Validation

Hi,I'm implementing a policy where passwords cannot be reused and have the structure in place, however I'm trying to work out how to check this against the PasswordHasher, I always get a failed...

View Article

New and need a little help

I have started a new web forms project.I want to simply learn how to implement Identity Authorization and Roles.I found the Wing Tip Toys example and went straight for the 'Membership and...

View Article

Login Form

Sir,Environment : ASP.NET 3.5Language : VB.NetI want to create around 500 users to use some forms.  I want advice what is good/workable , whether to use Asp.net Login Controls and db or Mannual form...

View Article


We want to integrate ADFS and Non ADFS authentication in MVC 4 application.

Hi Dear,We have already implemented ADFS configuration in one of my MVC 4 application and working fine, but know we are in situation where we need to implement NON ADFS authentication in...

View Article

Single Sign On With ASP.NET Identity Framework

This question has been asked so many times, and a quick search came up with lot of results. But I haven’t gotten satisfactory answer yet. We have 2 web applications ( and we may have more in future)...

View Article

ASP. NET MVC Identity List Users and Related Roles

Hi,I am new at development world.I use ASP.NET Identity 2.0public UsersAdminController(ApplicationUserManager userManager, ApplicationRoleManager roleManager) { UserManager = userManager; RoleManager =...

View Article


ASP.NET Identity: How to restrict google authentication to certain domain?

I have ASP.NET project and I am using ASP.NET Identity framework for authentication. We also have google app account so i wanted to use Google as my authentication provider. Lets say my google app...

View Article


Hiding the menus and some part of drop down based on the user logged in

<div class="nav"><ul><li><a href="Home.aspx">Home</a></li><li><a href="ATR Retrieve.aspx">Retrieve ATR</a></li><li><a...

View Article

Certificate Issue

Hi Experts,I have got error while consuming an web service which was hosted in the Machine ABC . Error was "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS...

View Article

Password Unhash

Hi All I am using Identity Framework 2.0 I have facility for adding user   and i should now enable edit user functionalitywhen the edit button is clicked , all the user information including the...

View Article

A necessity to migrate from localdb to SQL Server?

Hello,I am a newbie and I still learn . I have maybe "stupid" question - is necessary to migrate AspNetRoles, AspNetUserClaims,AspNetLogins,AspNetUserRoles,AspNetUsers to a SQL database?Can I have two...

View Article


Error message unclear: "Passwords must have at least one non letter or digit...

Apologies if this has already been mentioned, I wasn't able to find anything online about it other than when it was mentioned, and pretty much ignored, here (first post by centiva):...

View Article

Allowing asp.net acces to folder

I have a website which requires users to login to access pages in a folder. Under this folder is another folder which stores user info like uploaded avatars. The same pages are in the root of the site...

View Article


path details in asp.net project

dear all,I am trying to do this in my test environment. I do not know what the path value is - /FormsAuth  - is this a folder need to be in my project.Can somebody clarify?authentication...

View Article

ASP.NET identity 2.2.1 returnUrl with hash value ?

I m using identity to do facebook login when facebook callback and my server sign in with the user and finally redirect to "ReturnUrl" .https://localhost:44301/#_=_  <-- the url auto include the...

View Article


Creating multiple users in membership once

Hi all,I have implemented asp.net membership in one of my project. now instead of creating user one by one we need to import list of users in once .  Is there any way to upload user details from excel...

View Article

permission issue in file generation

facing some permission issue at my clients place. in my asp.net application i have logic for creating a excel file with data and on button click it gets downloaded. it works fine on my machine but at...

View Article

Request for principal permission failed

Hi,Using Microsoft Identity and implemented Vote application from this article. But I getting error in my http handler when trying to create repository. Any idea?<%@ WebHandler Language="C#"...

View Article
Browsing all 4737 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>