473,414 Members | 1,951 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,414 software developers and data experts.

Where can I find the Error code for DirectoryServicesCOMException?

Where can I find pre-defined Error code like OBJECT_ALREADY_EXISTS (HRESULT)
for the DirectoryServicesCOMException.ErrorCode? I need it for the try-catch
coding.

Thanks.
Jul 29 '06 #1
2 4495
Search the platform SDK docs for "ADSI Error Codes".

Willy.

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:AF**********************************@microsof t.com...
| Where can I find pre-defined Error code like OBJECT_ALREADY_EXISTS
(HRESULT)
| for the DirectoryServicesCOMException.ErrorCode? I need it for the
try-catch
| coding.
|
| Thanks.
Aug 6 '06 #2
Oh, I've found that long time back and used it in my C++ module. But for my
C# module I tried using the constants found there and compiler would complain
that it isn't define. Like, ERROR_OBJECT_ALREADY_EXISTS, can be used in C++
but not in C#. Do I need to add any references to use the same constants?
--
Thanks.
"Willy Denoyette [MVP]" wrote:
Search the platform SDK docs for "ADSI Error Codes".

Willy.

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:AF**********************************@microsof t.com...
| Where can I find pre-defined Error code like OBJECT_ALREADY_EXISTS
(HRESULT)
| for the DirectoryServicesCOMException.ErrorCode? I need it for the
try-catch
| coding.
|
| Thanks.
Aug 7 '06 #3

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

Similar topics

2
by: MLH | last post by:
I cut a mail function off the m'soft site. Has always worked. However, I would like to include error codes returned by the sendmail Fn and be able to understand what they mean. I had my first...
3
by: Hamilton | last post by:
Hi there, I've seen this error appear a few times in newsgroups but unfortunately I haven't found one that actually provides a solution. I'm basically deploying a new website into an area at a...
0
by: jeffpriz | last post by:
We've got an issue here where we regularly receive an error page with the message "Compiler Error Message: The compiler failed with error code 2000." when we begin debug on our projects. The...
1
by: sbanil | last post by:
We have a JAVA application which uses following Database product name : DB2 Database product version : DSN07012 JDBC driver name : IBM DB2 JDBC Universal Driver Architecture JDBC driver version ...
0
by: ire.kevin | last post by:
Well I've made alot of progress (ok i lie someone made alot of progress for me) but I'm at a hault because i get the "can't write to db" error down in the code. What's wrong? I can't find it.......
3
by: Yash | last post by:
Hi all, I found that while we are updating our application, the application is not known to tomcat, untill it is completed. So tomcat sends 503 page as resource not found. I want to know is...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
2
by: John | last post by:
If a user gets the message: "Error 70 during execution Access denied" where can I find what "error 70" means? thanks, john
1
by: ravi chandra | last post by:
Dear all , I am getting the following error while connecting from any one of my client,s CONTROL CENTER (if I am cataloging from command prompt there is no error) to db2 server SQL30081N ...
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?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.