ComException when attempting to access a directory.

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?
 
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?

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top