Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to get ADSI Err.Description ???

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Programmatically changing personal error  
Author Message
corebridge

External


Since: Jun 10, 2004
Posts: 1



(Msg. 1) Posted: Thu Jun 10, 2004 2:20 pm
Post subject: How to get ADSI Err.Description ???
Archived from groups: microsoft>public>adsi>general, others (more info?)

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.

 >> Stay informed about: How to get ADSI Err.Description ??? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]