In my ASP.NET/C# code, I used DirectoryServices to manage a remote IIS website. However, when a method Site.Invoke is called, this exception got thrown.
This is a permission problem. The account running ASP.NET code on IIS doesn’t have permission to access remote server. So ASP.NET Impersonation has to be used to solve the issue.