Hello...I just wanted to ressurect this post to ask you all (or anyone else) who has gotten this code working what version of MDAC they use.
The MDAC version can be found here: C:\Program Files\Common Files\System\ADO\MDACReadMe.htm
(this location and file may vary slightly)
Code of this...
Hello again.
I should have mentioned earlier that this code runs on my workstation which runs Windows XP Pro. However all these issues that I've been having happen when I'm using windows 2k Server. I assumed that since I was new to ASP it was a problem with my code but I've found a new...
Thanks tsuji and JSpicolli for the ideas and support.
I've been kept busy doing some other things, but I'm back and ready to tear my hair out again. [http://www.tipmaster.com/images/smiletiniest.gif]
I've tried displaying the individual fields but that doesn't work either...
Interestingly...
Still not working... *sigh*
What could I be doing wrong?
In my last post I noted the difference in when I used ".value".
I managed to learn a bit about VBScript in the process and understand that the variant datatype is a parent datatype and all other datatypes are sub types of this.
I...
Ahhhhhhhhhhhhhhhhhhhhhhhh...
Many thanks tsuji.
It becomes clear and now I am getting something.
What I've found interesting is that a line like
lastname = Typename(objADORecordset.Fields("xxx"))
Response.Write(lastname)
returns a "Field" datatype (surprise surprise) but a line like
lastname =...
So tsuji, are you saying that I should try something like:
StrDisplayLine = String(objADORecordset.Fields("sn").value)
Is that right? I'll test it out, but let me know if I did something wrong.
Thanks
Thanks for the ideas guys.
Let me clear up some stuff for tsuji first:
Ok...well, I edited my code for the sake of brevity, so the code extracting the phone numbers etc isn't there. I should have stated that though
I'm guessing you're referring to my statement in the first post "For the most...
Provider error '80040e37'
Table does not exist.
/phonebook/includes/test.asp, line 27
I get that error as well. I've gone a different route from RoKKos, so here's my code.
<%
Dim strName
strName = "(sn=T*)"
' Create ADO connection using the ADSI OLE DB provider
Dim objADOConnection...
I have isgten's problem.
There is an error at the "execute" command
I've heardn that it could be an IIS configuration problem.
Has anyone figured this out?
Thanks a lot,
Rikki
Thanks for the replies FesterSXS and tsuji.
But I think you misunderstood my question (or I didn't ask properly).
When I query the number of people whose name starts with "Z" for example, I know that the query executes properly because I see the correct number of rows returned in the...
hello.
I'm working on an ASP page that queries the Global Catalog of Active Directory for domain names and phone numbers.
For the most part, the script works and gets the result set. My problem comes in displaying the records in asp.
Here is the error message i get:
Response object error 'ASP...
I'm running an ASP application on IIS 5.0 which needs to have "Anonymous Access" turned on.
I have a page that determines the network user using ASP's server variables (http://www.tek-tips.com/viewthread.cfm?qid=1017375)but IIS' "anonymous" settings makes those variables like REMOTE_USER and...
Thanks for the help K0b3
Here's what I came up with on my own though...
This isn't the complete code, but it is the section I was having trouble with.
In addition to this, I turned Anonymous Authentification off and turned Windows Authentification on in IIS.
It works fine right now except for...
I have an interesting challenge.
I'm working with an application that currently allows users to log in, validate themselves via username and password located in a database and then change user-specific details.
I have windows machines on my network. Is there a way to pull windows active...
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.