Friday, March 29, 2013

FIX: System.DirectoryServices.DirectoryServicescomException - Operation Error

At times you might caught up in an issue that your ASP.NET website is working fine in one environment but authentication is failing on other environments when you have used Identity providers.

To fix this issue -
Make sure, you have "Basic Authentication", "Windows Authentication", and "ASP.NET Impersonate" enabled for the website in IIS.

These settings needs to be enabled in such cases.