How do I get rid of DefaultAuthenticationModule module?


I came to conclusion that I don't need DefaultAuthenticationModule in my application and I want to get rid of it. So I tried the following in web.config section responsible for modules:

<remove name="DefaultAuthentication" />

and when I hit F5 in Visual Studio I see the following error message


error ASPCONFIG: Special module of type 'DefaultAuthentication' cannot be added or removed manually.


So how do I get rid of the module?


Try removing it from IIS <a href="http://www.iis.net/learn/get-started/introduction-to-iis/iis-modules-overview#Disabling" rel="nofollow">refer</a>, you can enable or disable the same for a particular website or application using methods mentioned in the link.


  • Visual Studio 2012 doesn't build project on run when its dependencies change
  • Aggregating based on “near” row values
  • Cannot debug project after upgrading to Service Fabric SDK v2.3.301
  • Wait for angular to finish updating the DOM
  • Redirect to trailng slash (htaccess)
  • not able to create VC++ project, with VS11
  • How to format code on aptana 3?
  • Visual studio 2015 keystroke with mouse button
  • How do you keep a running instance for Google App Engine
  • what is the purpose of “export as namespace foo”?
  • Upgrade project from WorkLight 6.1 to MobileFirst 7.1
  • WordPress > setting permalink option via script buggy?
  • TFS - how do I sum child task hours to parent
  • Deploying a CodeRush plugin from the Community Site
  • How to pass solution folder as parameter in command line arguments (for debug)?
  • Why are YouTube videos using 'youtube.com/v' not loading
  • ASP.NET MVC 2 Preview 2 - display directory list rather than home/index
  • Connect .sks to skscene.h
  • How do I access an unhandled exception in an MVC Error view?
  • With Hadoop, can I create a tasktracker on a machine that isn't running a datanode?
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • iOS: Detect app start via notification press
  • Debugging ASP.NET on a built-in web server suddenly stops
  • Spring Data JPA custom method causing PropertyReferenceException
  • Regex thinks I'm nesting, but I'm not
  • What is the “return” in scheme?
  • C# - Serializing and deserializing static member
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Sending data from AppleScript to FileMaker records
  • How to disable jQuery.jplayer autoplay?
  • How to include full .NET prerequisite for Wix Burn installer
  • How to get Windows thread pool to call class member function?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Is it possible to post an object from jquery to bottle.py?
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?
  • java string with new operator and a literal