cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2428
Views
0
Helpful
21
Replies

LDAPSearch - Server.CreateObject error

chp
Level 1
Level 1

Hi,

Does somebody know WHY my script which use 'LDAPSearch.LDAPSearchList' doesn't work ? There was no problem during the last 2 weeks and know, I get this message :

HTTP 500.100 - Internal Server Error - ASP error

Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:

Active Server Pages, ASP 0115 (0x80004005)

A trappable error (C0000005) occurred in an external object. The script cannot continue running.

/iptelephony/index.asp

Browser Type:

Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Page:

GET /iptelephony/index.asp?id=27289

Time:

Wednesday, February 09, 2005, 8:43:12 AM

More information:

Microsoft Support

I get this message one time, then.. IIS seems to be blocked for this virtual directory. There is no time out, no response.

21 Replies 21

I tested the sample code you posted, and changed only the server name, the authname, password, and search base, and it worked fine.

Your search base looks fine, so the problem is with your authname and password.

I agree with Sascha, your authname should be "CN=Koos Duppen,CN=Users,DC=ferranti,DC=be" based on the screenshot of the ldap directory.

Can you create a profile in Softerra using "CN=Koos Duppen,CN=Users,DC=ferranti,DC=be" as the user and use your password, and see if that works and you are able to connect and browse the directory?

yezzzzzzzz!!!

It works finally!!!

I made a profile with "CN=Koos Duppen,CN=Users,DC=ferranti,DC=be" as user DN

I typed it in the asp file... and it worked

All thanks to you guys!

Thanks a lot.

I'm very thankfull to all you!

Maybe untill next time, (I hope not for me :d )

with regards,

Koos Duppen

hello back,

Everything works quiet a bit, but I still have a question, I'm trying to solve it my way, so maybe I can find it myself. But when I made a search trough LDAP in de windows 2003 AD I recieve a result as a .XML file.

when for example I search on my own profile:

http://koos.ferranti.be/ldap2AD/ldapdirectorylist.asp?frst=Koos&lst=Duppen

I recieve an output like:

LDAP Directory Search

Records %s to %e of %c

-

Eindwerkstudent

KDuppe

Duppen, Koos

816

035457816

KDuppe@ferranti.be

0472526270

Well, this information I need on the telephone.

Normally the IPPhone (7940/7960) can understand XML, so that wouldn't be a problem I tought, but it is.

The phone doesn't do anything with the querystring I provide him. Maybe the querystring isn't coming true correct. But I think there's a problem with displaying the result onto the screen.

Do you have any idea how to read it right onto the display of the phone?

Thanks in advance

Well, your IPPhone does understand XML, but the messages can only contain certain elements.

The IPPhoneDirectory can only have entries with

and

(look in the IPPhone Services SDK)

so it should return this to the Phone:

Duppen, Koos

816

Isn't there a way to add addition information, like mobile number,mailadress, onto the phone...

Can't the phone pretend like there are 2 or 3 phone number or something...

Thanks in advance

well, you could list 3 entries for that person, one for each number...not really nice though..

or you could add the other 2 numbers under a Softkey dial:1234567 item, for the users to dial directly

...just an idea...

Hi, thanks for the help.

I'm trying diferrent things, Well, I think the schema.xsd is the basis for the interpretation of the XML-behavior of the ipphone isn't it?

Well isn't it possible to add some XML tags to it so the telephone could understand?

I just need to put a cellphone number, a name and another telephone (local)number on the display...