Forms Authentication Error 401.2
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Access is Denied - 401.2: Unauthorized Error up vote 1 down vote favorite I have an ASP.NET website hosted on IIS 7.5 as below: I have "customwebsite.com" as the website and in it I have two Web Applications - uk & us - so that I can access these application as customwebsite.com/uk & customwebsite.com/us. customwebsite.com directory does not have any web.config and have only two folders for web application us and uk. Both us and uk web application have their individual web.config and have Form Authentication specified as below: here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://stackoverflow.com/questions/20802673/access-is-denied-401-2-unauthorized-error Join them; it only takes a minute: Sign up IIS7 — 401.2 Error with Forms/Anonymous Auth Enabled up vote 4 down vote favorite 2 I have installed an ASP.NET 4 Web Forms app on a remote Win2K8R2 virtual machine. I cannot remotely deploy anything to this box, so I shipped a VS2012 Web Deployment Package which I installed http://stackoverflow.com/questions/18027391/iis7-401-2-error-with-forms-anonymous-auth-enabled locally. I installed the IIS Recommended Configuration through WebPI 4.6. I started out using the Default Application Pool (mine will be the only web app on IIS) in Integrated Pipeline mode with LocalSystem identity. This is the exact same configuration that I successfully have used for other web apps on a Win2K8 VM and a Win2K8 physical box. I am using Forms/Anonymous Authentication. The Account directory Authorization is configured this way: My application Authorization is configured like this: UPDATE: My application Authentication is configured like this: My Membership Provider is configured like this: ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Web Forms/Forms auth iis 8.0 - Error message 401.2.: Unauthorized: Logon failed... Forms auth iis 8.0 - Error message 401.2.: Unauthorized: Logon failed due http://forums.asp.net/t/2009349.aspx?Forms+auth+iis+8+0+Error+message+401+2+Unauthorized+Logon+failed+due+to+server+configuration+ to server configuration. RSS 9 replies Last post Apr 26, 2015 11:02 AM by StaticMethod ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads https://msdn.microsoft.com/en-us/library/ff647070.aspx Support Options Advanced Search Related Links GuidanceSamplesVideos Reply Jtunney111 None 0 Points 9 Posts Forms auth iis 8.0 - Error message 401.2.: Unauthorized: Logon failed due to server configuration... Sep 17, 2014 12:51 forms authentication AM|Jtunney111|LINK I set my web application up to use forms authentication. My root web.config file has the very basic settings: resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Security Security Guidance for Applications Explained Explained Explained: Forms Authentication in ASP.NET 2.0 Explained: Forms Authentication in ASP.NET 2.0 Explained: Forms Authentication in ASP.NET 2.0 Explained: Forms Authentication in ASP.NET 2.0 Explained: Windows Authentication in ASP.NET 2.0 TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is archived and is not being maintained. Explained: Forms Authentication in ASP.NET 2.0 Retired Content This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. patterns & practices Developer Center J.D. Meier, Alex Mackman, Blaine Wastell, Prashant Bansode, Chaitanya Bijwe Microsoft Corporation November 2005 Applies To ASP.NET version 2.0 Summary This module explains how forms authentication works in ASP.NET version 2.0. It explains how IIS and ASP.NET authentication work together, and it explains the role and operation of the FormsAuthenticationModule class. Contents Objectives Overview IIS Authentication ASP.NET Forms Authentication Cookieless Forms Authentication Membership and Login Controls Web Farm Scenarios Additional Resources Objectives Learn how forms authentication works in ASP.NET version 2.0. Understand how forms authentication co