While working in IIS 7, I have faced a very popular error as:
Unknown Error (0x8000500c) COMException in DirectoryService
You might get lots of solution to fixed it. But in my case, I couldn’t fix with different ways. I have published an Application on IIS 7 and I have enabled Windows Authentication on IIS. However, the page is still giving the error:
HTTP Error 401.1 – Unauthorized
You do not have permission to view this directory or page using the credentials that you supplied.
It is very simple to fix this issue. Kindly follow the following instruction to fix it:
- Go To IIS, click on the Sites ->Your application, then click on Features View on the bottom of IIS, open the Authentication feature