我该如何摆脱DefaultAuthenticationModule模块? [英] How do I get rid of DefaultAuthenticationModule module?
问题描述
我来的结论,我没有在我的应用程序需要 DefaultAuthenticationModule
,我想摆脱它。于是,我就在负责模块的web.config部分,以下内容:
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" />
和时,我打在Visual Studio中我看到了以下错误消息F5
and when I hit F5 in Visual Studio I see the following error message
错误ASPCONFIG:类型的特殊模块DefaultAuthentication'不能被添加或手动删除
error ASPCONFIG: Special module of type 'DefaultAuthentication' cannot be added or removed manually.
那么,如何摆脱模块的?
So how do I get rid of the module?
推荐答案
尝试从IIS的指,则可以启用或禁用使用链接提到的方法一个特定的网站或应用程序相同的。
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.
这篇关于我该如何摆脱DefaultAuthenticationModule模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!