How do I get rid of DefaultAuthenticationModule module?

橙三吉。 提交于 2019-12-11 19:33:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!