473,385 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ComException when attempting to access a directory.

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?

Sep 20 '07 #1
1 1292
On Sep 20, 11:03 am, John <dozyslee...@googlemail.comwrote:
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.

Sep 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DotNetter | last post by:
I have two computers. Both computers have Windows 2003 installed as well as Visual Studio.Net 2003 installed. Computer A has active directory set and also has .Net and the webservice called...
2
by: Carlton858 | last post by:
I have a web app that uses a third party assembly. I have been transferring this assembly back-and-forth from my dev server "bin" directory to my staging server "bin" directory many, many times...
1
by: TJO | last post by:
I am building an asp.net application on my machine and every so often when i press F5 to debug i get the following error. This is most annoying because the only way to eleviate the error is...
1
by: Jody Gelowitz | last post by:
This one should be relatively simple, though I have yet to figure it out. I have an ASP.NET project which uses LDAP authentication to login to the system. When run on our Development or Staging...
2
by: Shihao Png via DotNetMonster.com | last post by:
Well, the problem I'am having now applies to web applications only. Therefore, I believe it has something to do with security settings. Here's the code: ...
1
by: Marek Kopanski | last post by:
Hallo, I have to change a user password in my ASP.NET project. In the first step I was trying to change my own passwort (as example) in Active Directory on my Server, but already at this point I...
0
by: Julia | last post by:
Hi, I have an asp.net application. The applicatino has some component stored in GAC and Component Service. One component handles the access to our Active Directory and we inser the connection...
2
by: ortega23 | last post by:
Hi, I am trying to obtain the column number of the parent of a cell, if the cell is a linked cell (i.e. its value depends on another cells value). I try to read "Precedents"(parent cells) of...
1
by: malooga | last post by:
Hello, I'm having a problem connecting to DB2 on a remote iSeries host from a Linux server, both of which reside on my company's internal network. I'm using the IBM Linux Client V9.1. When I try...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.