I am getting an error while executing the application on server "The configuration section cannot contain a CDATA or text element(web.confing line 149) the error lines are as follows,
<location path="admin"> <system.web> <authorization> <allow roles="Admin"/> <deny users="*"/>; </authorization> </system.web> </location>
Pleae help me in this error.
You have a semicolon in front of
<deny users="*"/>
This semicolon is not allowed and is the reason you are getting that error.
Make sure there's no stray character in the configuration file. It can be as "harmless" as a misplaced "-->" or extra ." or anything really minor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With