Hi Zcolton,
Thanks for your reply. I found the problem yesterday, it is on the IIS version. I can get the value of the samaccountname on a server with IIS Version 6, but no on IIS version 5.
tsuji,
Now I am getting a different error
Active Directory error '8000500c'
The Active Directory datatype cannot be converted to/from a native DS datatype
/adsiquerytool/ADSIListUsersLDAP.asp, line 87
I changed the code so it looks like this...
For Each strmember In objgroup.MEMBER...
I can get sn and givenname by using either your code or mine but not the samaccount name (I have to comment out the samaccountname). Even I had the 's' on the objgroup.memeber(s) it seems work. After replacing mine with your code, I am getting the same error message
Microsoft VBScript...
tsuji,
Yes. I need to commend out the first response in order to get the second and third response.write line. Otherwise I get
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'samaccountName'
.
I want to get the user login name from LDAP, so I use SamAccountName, but keep getting the following error message.. I can get the value of the user's surname, givenname, name but not samAccountName. Can someone help?
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this...
I have a dropdown box which contains a value of "Other", when a user selected this value, a textbox will be displayed so user can specify the other value. I would like to know how to do this without a postback. Can someone share the javascript with me??? Thanks.
This is what I have.....
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
'Load checkbox list value from table
Me.LoadLookupTable.LoadCheckBoxList(cklistDiagnosedDisableConditions...
Hi,
I would like to know how can I display a text box when a special value (e.g. "other") is selected from a dropdown box, so users can specify the value in the text box. Thanks.
Does anyone knows how to perform a mail merge from ASP. I would like to know how to pass a ADO recordset( a mailing list) to Word to perform a mail merge. Thanks in advance.
Brian,
The re-admitdate is actually the 2nd admission date for this client and it is not on the table. I want to know how to read the 2nd admission date and make a NEW column called re-admdate so I can calculate the duration between the 1st and 2nd admission. Thanks.
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.