ComException when attempting to access a directory.

  • Thread starter Thread starter John
  • Start date Start date
J

John

Exception Details: System.Runtime.InteropServices.COMException: An
operations error occurred

The exception happens when I call DirectoryEntry.Exists(mydir). The
directory (string), mydir, is properly formatted and exists. It fails
at DirectoryEntry.Bind(). I think this is likely a security issue, I'm
running IIS on server 2003. Any suggestions on why it may be failing
and how to fix it?
 
Exception Details: System.Runtime.InteropServices.COMException: An
operations error occurred

The exception happens when I call DirectoryEntry.Exists(mydir). The
directory (string), mydir, is properly formatted and exists. It fails
at DirectoryEntry.Bind(). I think this is likely a security issue, I'm
running IIS on server 2003. Any suggestions on why it may be failing
and how to fix it?

Nevermind. I fixed it, it was not authenticating when I was opening
the page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top