Default Role Provider could not be found in iis 6 and asp.net mvc 3

后端 未结 1 969
攒了一身酷
攒了一身酷 2021-01-25 07:20

I\'m launching asp.net mvc 3 apllication on ii6. No membership or role providers are used. I have implemented authorization by creating authorization cookie manually, and handle

相关标签:
1条回答
  • 2021-01-25 08:18

    Solved. IIS6 does not recognize <system.webServer> (it was introduced in IIS7), and I used <httpModules> in <system.web> instead:

    <system.web>
    ...
    <httpModules>
    <remove name="RoleManager" />
    </httpModules>
    ...
    <system.web>
    
    0 讨论(0)
提交回复
热议问题