I am getting an err开发者_开发问答or in my web.config
file at <rolemanager enabled="false">
can any one tell how to resolve this
Verify that your virtual directory is configured as an application in IIS.
http://learn.iis.net/page.aspx/150/understanding-sites-applications-and-virtual-directories-on-iis-7/
It seems that you have not created virtual directory. just create a virtual directory by going to IIS Manager
From what I see in the screen shot, you have a second web.config in a subdirectory.
In this web.config you are not allowed to add this lines, except if you make this subdirectory a new web application, something that I do not suggest to.
So you can not add this commands on the subdirectories web.config, only on root. To handle some special events in the subdirectories you need to use the code behind and a little programming.
精彩评论