zcolton
thanks for all your help i learned a few things from this thread.
unfortunately after reviewing with my coworker and my boss we are not going to be useing the LDAP searches.
Thanks for you time.
ok i got it to work...here is my code
i had to use basic authentication.
is there a way so that the user doesnt have to keep entering thier user name and login?
<%@ Language=VBScript %>
<%
Option Explicit
Dim strUsername,con,rs,Com,objADsPath,objDomain,name,telephonenumber,mail,WshShell
%>...
question...if i do a
LDAP://sandc.ws in a web browser
it asks me to enter name or email to search in teh directory...i enter ny email and it says for me to check my connection.
is this normal?
im still trying to figure out why this thing donesnt work....
this is my error message:
TORONTO\NTam
NTam
DC=sandc,DC=ws
select name,telephonenumber,mail from 'GC://DC=Toronto,DC=sandc,DC=ws' where sAMAccountname='NTam'
Provider error '80040e37'
Table does not exist.
/helpdesk/test2.asp, line 34
the first 4 lines are just output....i had to...
i tried it again....but it still gives teh same error.
Is it possible that the com.CommandText = "..."
is some how not correct?
like my domain is correct i asked my network admin and it contains all teh correct data could it be the values its trying to get like name, telephonenumber...
Hey,
ok i tested things in steps:
STEP 1: WORKS fine
<%@ Language=VBScript %>
<%
Option Explicit
Dim strUsername,con,rs,Com,objADsPath,objDomain,name,telephonenumber,mail
%>
<html>
<head>
</head>
<body>
<%
strUsername =...
domain works, and username sorta i did a test on it and that is fine. i even outputed teh com.CommandText and it looks flawless. just when it tries to do execute it doesnt work
sample output of ur original code minus the com.execute and on. i also changed it to output the commandText
output...
i turned off anonymous authentication and checked on intergrated windows authentication.
i still get a error
Error Type:
Provider (0x80040E37)
Table does not exist.
its erroring on the line:
Set rs = Com.Execute
Zcolton i have a question.
the code that u gave me if i try to run locally on my computer it says
Error Type:
Provider (0x80040E37)
Table does not exist.
what does this mean? im such a newb
Thanks alot. you are very helpful. I want to get u some coffee. :)
I have a question.
Request.ServerVariables("LOGON_USER")
when using that line, i ran it locally on my computer and it did not pick up any value. Why is that?
On my asp form i want to populate; user real name, phone extention, email address into separate text fields.
So when the user accesses this page it will automatically fill in those information. This asp page is part of our service desk request form.
i could post my form if you would like to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.