Author: eaak79 | Posted on: 6/13/2010 1:42:35 PM | Views : 386

Hi All
I am working on ASP.NET Web Application. I have created a page (Default.aspx) in a "admin" folder, which only administrator can access. Web.config file for admin folder is below.
<configuration> <appSettings/> <connectionStrings/> <system.web> <authorization> <allow roles="administrator" /> <deny users="*" /> </authorization> </system.web> </configuration>

When I browse the page, it redirects me to login page. Once I log in, it loads the page with data from SQL Server 2008 database. Everything is okay till now.
But the problem is, when I try "Update" the data, it shows the following error message.
Access is denied.
Error message 401.2.: Unauthorized: Logon failed due to server configuration.&nbs ...

Go to the complete details ...