Hi All
Why Custom error page is not showing ?
Note-I have knowledge abt Mode- On,Off,RemoteOnly
my web.config looks like
<system.web>
<customErrors mode="On" defaultRedirect="CustomErrorPage.html" />
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<allow users="mydomainname\UserID1919" />
<deny users="*" />
</authorization>
</system.web>
Do I need to modify any setting so that other than "mydomainname\UserID1919" should not allow to get access into the webapplication.
well if other user i.e."mydomainname\UserID2020" try to provide his/her credentials ,rather than showing "CustomErrorPage.html" Page, it is showing like this.
___
Server Error in '/MyApplication' Application.
---------------------------------------------------------------------
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.
Error message 401.2.: You do not have permission to view this directory or page using the credentials you supplied. Contact the Web server's administrator for help.
_________________________________________________
I tried both the link
http://geekswithblogs.net/ranganh/ar.../25/37613.aspx
http://www.aspdev.org/articles/web.config/
Do i need to modify something in IIS.
Any pointer will be a great help
Cheers :)
vinod