I hate long titles, but this is what everyone is going to be searching for if they get this error, so that’s the title today.
I just got done fixing an error and when I went to Google, there were only five entries for this phrase and none of them solved the problem. Some got me close and gave me a clue, but none of them said…
Hey dummy, you forgot to put in the forms authentication section in your web.config file and now you are asking for role information. What gives?!
So, if you are getting this error, go check your web.config file for the forms authentication section. I just did a search in mine for “authentication” until I found the section that had been commented out.
I’m not saying this IS your problem, but it was the solution to MY problem and it might just help someone to have it here.