Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How to get ADSI Err.Description ???

Reply
Thread Tools

How to get ADSI Err.Description ???

 
 
F C
Guest
Posts: n/a
 
      06-10-2004
I have ASP page on W2K SP4 server.

I have the following excerpt of code:

On Error resume next

Set myObj = GetObject ( DN)

ErrNo = Err.number
ErrTxt = Err.Description

Err.Clear

On Error goto 0

If ErrNo <> 0 Then

Here my error processing code.
I have here ErrNo = 0x80072030, with means that ldap object not found,
but ErrTxt is blank.

End If

How can I have Err.Description filled. Because there are some errors which
are part of the normal processing flow and I dont care of Err.Description,
but other errors are "abnormal" and I want to show them to the user with
some meaning.

Thanks for help.
François.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
ADSI - Able to authenticate but unable to get memberOf information deltalimagolf ASP .Net Security 7 04-18-2008 05:25 PM
Access Denied for WMI/ADSI over ASP.Net Roy Osherove ASP .Net 3 09-14-2003 09:47 PM
ADSI/LDAP Query khaja shaik ASP .Net 0 07-21-2003 09:05 PM
ADSI - Syntax for msExchTurfListNames Justin Rich ASP .Net 0 06-25-2003 11:19 PM



Advertisments