In the Edit custom page now I selected as below
option -> Insert content from static file into the error response
and
File Path= D:\Source Code\ABC\ABC\Error.htm
if i modify any details here or in web.config , will ithelp to solve the issue.
ie if it directly open my error page then in the developer tool 401 will not show in developer tool.Is there any chance for that?