问题
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?
回答1:
Try removing it from IIS refer, you can enable or disable the same for a particular website or application using methods mentioned in the link.
来源:https://stackoverflow.com/questions/17565717/how-do-i-get-rid-of-defaultauthenticationmodule-module