Unable to load Website Administrative Tool
Hi, I went to cd c:\program files\iis express and runiisexpress.exe /path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/asp.netwebadminfiles" /port:12345 /clr: 4.0...
View Article2 Factor choice for MVC Application possibly add SSO as an option as well
Hello,I am just getting started with an MVC application after using web forms for many years with our own authentication or Windows AD. With the start of this new project I would like to require 2...
View ArticleSSO Implementaion/Suggestions Needed
We have a partner who has integrated our services into their application. All API method call's from partner app to our services using standard API key/pwd credentials. But to make any changes on the...
View Articlecan malware redirect asp.net websites?
My asp.net hosting provider tells me that asp.net sites can be redirected by malware that gets onto the server. But could this explain why the website shows different behavior at different locations?I...
View ArticlePopulate Roles into drop down list hit 'Invalid object name...
Hi, in my aspx file, I have a drop down list which I hope to populate Roles<asp:DropDownList class="form-control" id="role" runat="server"></asp:DropDownList>Then at my code behind, I...
View ArticleCustom Membership provider not loading from web.config
I have a MVC 5 application which I created a custom membership provider for.I have configured it in the web.config, but it seems that the app is not reading it from the web.config file.This is what my...
View ArticleSignOut users with admin account
Hi all. I'm using Owin authentication on a MVC 5 web site. I'd like to signout some users (retrieved from a list) from ad admin account, but if I call...
View ArticleHow to check if a user is logged in via a webservice
Using the webforms template from Visual Studio 2013I have this working and can log in a user. My need is this, I have another system that will be integrated into this website that I'm building. With...
View ArticlePost to defualt Login action from another site in same parent domain to...
hi ,i have 2 site ruining under sub domains ,Auth.mysite.comData.mysite.comI've managed to make Data.mysite.com redirect to Auth.mysite.com when a user need to access authorized content on...
View ArticleAsp.net.Identity with identityserver3 and Mysql
I am building a Identityserver3 with AspNet.Identity and MySql database. I have build the identityserver stand alone, and it worked. Then I build the AspNet.Identity with Mysql and it worked. Now I am...
View ArticleGet the users login / network name without authenticating
I would like to know if it's possible to get the users network / login name without using forms or windows authentication? (I DONT want authentication just their name!)Situation.We have 5,000+...
View ArticleUse ASP.Net Membership Provider in MVC (instead of SimpleMembership)
I have already implemented an MVC4 project using SimpleMembership.However for certain reasons, i need to integrate the older ASP.NET Membership provider in the project to replace the SimpleMembership...
View ArticleGiving User Access On Menu by Menu Page by Page
Access is granted on a menu by menu and a page by page basis Currently it is set-up so that a stored procedure is run to check the logged-in users permission to the menu's and pages if the procedure...
View ArticleChange default ASP.NET Identity Two-factor remember Cookie Expire Time
I have been using ASP.NET Identity 2.2.1. Following is the code in post method of VerifyCode action.var result = await SignInManager.TwoFactorSignInAsync(model.Provider, model.Code, isPersistent:...
View ArticleMigrating from asp.net membershiptables to ASP.NET Identity
I was checking the ASP.NET Identity project http://www.asp.net/identity. I still have some questions on the actual features: I'm migrating from the older aspnet_users membershiptables with my existing...
View ArticleHow to authorize users from a parent domain in ASP.NET MVC application, which...
I have an ASP.NET MVC 5 web application. It is hosted on IIS 8.5 on Windows Server 2012 R2 in an intranet environment. It usesWindows authentication and authorization.There is a domain in the...
View Article'dbo.aspnet_CheckSchemaVersion' error sometimes
I updated our site a while back and now sometimes it throws a "Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'" error.After searching I found the links to create the stored procedure...
View Articlerun app as specified user IIS Express
I need to test a web page that I built using VS 2012, I need to run it as a specified user. How and where can I put this user name and password so I can run the page as that user?
View Articlemoving security database from App_Data to SQL express - connection string
I am using a VM instance of Server 2012 Datacenter and SQL Express 2012. Using VStudio I ported the auto-generated aspnetdb.mdf to the same instance of SQL Exp. 2012 as my site's data. The site data...
View ArticleImplementing authorization (roles) when authenticating with Google or...
I have gone through the article on authentication using OAuth2 at this link: http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-onThere...
View Article